Adjusted TimeoutExchangeTest timeouts
This commit is contained in:
parent
ce53687643
commit
aefd353752
|
@ -18,10 +18,10 @@ import java.io.InputStream;
|
|||
import java.net.UnknownHostException;
|
||||
import java.util.Enumeration;
|
||||
import java.util.LinkedList;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.ConcurrentMap;
|
||||
|
||||
import javax.net.ssl.SSLContext;
|
||||
|
||||
import org.eclipse.jetty.client.security.Authentication;
|
||||
|
@ -33,11 +33,9 @@ import org.eclipse.jetty.http.ssl.SslContextFactory;
|
|||
import org.eclipse.jetty.io.Buffers.Type;
|
||||
import org.eclipse.jetty.util.Attributes;
|
||||
import org.eclipse.jetty.util.AttributesMap;
|
||||
import org.eclipse.jetty.util.TypeUtil;
|
||||
import org.eclipse.jetty.util.component.AggregateLifeCycle;
|
||||
import org.eclipse.jetty.util.component.Dumpable;
|
||||
import org.eclipse.jetty.util.component.LifeCycle;
|
||||
import org.eclipse.jetty.util.log.Log;
|
||||
import org.eclipse.jetty.util.thread.QueuedThreadPool;
|
||||
import org.eclipse.jetty.util.thread.ThreadPool;
|
||||
import org.eclipse.jetty.util.thread.Timeout;
|
||||
|
|
|
@ -168,9 +168,9 @@ public class TimeoutExchangeTest
|
|||
@Test
|
||||
public void testExchangeTimeoutExpiring() throws Exception
|
||||
{
|
||||
startClient(1000);
|
||||
startClient(500);
|
||||
|
||||
long serverSleep = 200;
|
||||
long serverSleep = 300;
|
||||
long exchangeTimeout = 100;
|
||||
|
||||
CustomContentExchange httpExchange = new CustomContentExchange();
|
||||
|
|
Loading…
Reference in New Issue