From 6e9567d410f319e2269ab47cbc9628374398e70f Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Mon, 17 Sep 2012 21:39:56 +0200 Subject: [PATCH] jetty-9 - Using longer timeouts when expecting results. --- .../org/eclipse/jetty/websocket/server/ab/TestABCase1.java | 3 +-- .../org/eclipse/jetty/websocket/server/ab/TestABCase9.java | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/ab/TestABCase1.java b/jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/ab/TestABCase1.java index c8b5ecf8281..90f8fd2b1f8 100644 --- a/jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/ab/TestABCase1.java +++ b/jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/ab/TestABCase1.java @@ -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 { diff --git a/jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/ab/TestABCase9.java b/jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/ab/TestABCase9.java index 197e25ca9fb..134a995682d 100644 --- a/jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/ab/TestABCase9.java +++ b/jetty-websocket/websocket-server/src/test/java/org/eclipse/jetty/websocket/server/ab/TestABCase9.java @@ -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 {