#6327 enable ResourceHandlerTest.testSlowBiggest

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
Ludovic Orban 2021-08-02 13:28:53 +02:00
parent 37eb7909be
commit 999b3ca11e
1 changed files with 1 additions and 3 deletions

View File

@ -40,7 +40,6 @@ import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import static org.eclipse.jetty.http.HttpHeader.CONTENT_LENGTH;
import static org.eclipse.jetty.http.HttpHeader.CONTENT_TYPE;
@ -277,7 +276,6 @@ public class ResourceHandlerTest
}
@Test
@DisabledIfSystemProperty(named = "env", matches = "ci") // TODO: SLOW, needs review
public void testSlowBiggest() throws Exception
{
_connector.setIdleTimeout(9000);
@ -307,7 +305,7 @@ public class ResourceHandlerTest
ByteBuffer buffer = null;
while (true)
{
Thread.sleep(25);
Thread.sleep(10);
int len = in.read(array);
if (len < 0)
break;