jetty-9 - Using longer timeouts when expecting results.

This commit is contained in:
Simone Bordet 2012-09-17 21:39:56 +02:00
parent 92c95584fa
commit 6e9567d410
2 changed files with 3 additions and 4 deletions

View File

@ -21,7 +21,6 @@ package org.eclipse.jetty.websocket.server.ab;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.eclipse.jetty.websocket.api.StatusCode;
import org.eclipse.jetty.websocket.protocol.CloseInfo;
@ -274,7 +273,7 @@ public class TestABCase1 extends AbstractABCase
fuzzer.setSendMode(SendMode.SLOW);
fuzzer.setSlowSendSegmentSize(segmentSize);
fuzzer.send(send);
fuzzer.expect(expect,TimeUnit.SECONDS,2);
fuzzer.expect(expect);
}
finally
{

View File

@ -167,7 +167,7 @@ public class TestABCase9 extends AbstractABCase
fuzzer.connect();
fuzzer.setSendMode(Fuzzer.SendMode.BULK);
fuzzer.send(send);
fuzzer.expect(expect,TimeUnit.SECONDS,2);
fuzzer.expect(expect);
}
finally
{
@ -357,7 +357,7 @@ public class TestABCase9 extends AbstractABCase
fuzzer.connect();
fuzzer.setSendMode(Fuzzer.SendMode.BULK);
fuzzer.send(send);
fuzzer.expect(expect,TimeUnit.SECONDS,2);
fuzzer.expect(expect);
}
finally
{