#6327 enable ResourceHandlerTest.testSlowBiggest
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
parent
37eb7909be
commit
999b3ca11e
|
@ -40,7 +40,6 @@ import org.junit.jupiter.api.AfterAll;
|
||||||
import org.junit.jupiter.api.BeforeAll;
|
import org.junit.jupiter.api.BeforeAll;
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
import org.junit.jupiter.api.Test;
|
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_LENGTH;
|
||||||
import static org.eclipse.jetty.http.HttpHeader.CONTENT_TYPE;
|
import static org.eclipse.jetty.http.HttpHeader.CONTENT_TYPE;
|
||||||
|
@ -277,7 +276,6 @@ public class ResourceHandlerTest
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@DisabledIfSystemProperty(named = "env", matches = "ci") // TODO: SLOW, needs review
|
|
||||||
public void testSlowBiggest() throws Exception
|
public void testSlowBiggest() throws Exception
|
||||||
{
|
{
|
||||||
_connector.setIdleTimeout(9000);
|
_connector.setIdleTimeout(9000);
|
||||||
|
@ -307,7 +305,7 @@ public class ResourceHandlerTest
|
||||||
ByteBuffer buffer = null;
|
ByteBuffer buffer = null;
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
Thread.sleep(25);
|
Thread.sleep(10);
|
||||||
int len = in.read(array);
|
int len = in.read(array);
|
||||||
if (len < 0)
|
if (len < 0)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue