You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2013/07/09 17:06:05 UTC

svn commit: r1501313 - in /cxf/trunk: rt/javascript/javascript-tests/src/test/java/org/apache/cxf/javascript/JsHttpRequestTest.java systests/transports/src/test/java/org/apache/cxf/systest/http_jetty/EngineLifecycleTest.java

Author: coheigea
Date: Tue Jul  9 15:06:05 2013
New Revision: 1501313

URL: http://svn.apache.org/r1501313
Log:
Relax some of the timeouts

Modified:
    cxf/trunk/rt/javascript/javascript-tests/src/test/java/org/apache/cxf/javascript/JsHttpRequestTest.java
    cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/http_jetty/EngineLifecycleTest.java

Modified: cxf/trunk/rt/javascript/javascript-tests/src/test/java/org/apache/cxf/javascript/JsHttpRequestTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/javascript/javascript-tests/src/test/java/org/apache/cxf/javascript/JsHttpRequestTest.java?rev=1501313&r1=1501312&r2=1501313&view=diff
==============================================================================
--- cxf/trunk/rt/javascript/javascript-tests/src/test/java/org/apache/cxf/javascript/JsHttpRequestTest.java (original)
+++ cxf/trunk/rt/javascript/javascript-tests/src/test/java/org/apache/cxf/javascript/JsHttpRequestTest.java Tue Jul  9 15:06:05 2013
@@ -91,7 +91,7 @@ public class JsHttpRequestTest extends A
         testUtilities.rhinoCallInContext("testStateNotificationSync");
         Notifier notifier = testUtilities.rhinoCallConvert("testAsyncHttpFetch1", Notifier.class);
         testUtilities.rhinoCallInContext("testAsyncHttpFetch2");
-        boolean notified = notifier.waitForJavascript(10000);
+        boolean notified = notifier.waitForJavascript(2 * 10000);
         assertTrue(notified);
         assertEquals("HEADERS_RECEIVED", Boolean.TRUE, 
                      testUtilities.rhinoEvaluateConvert("asyncGotHeadersReceived", Boolean.class));

Modified: cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/http_jetty/EngineLifecycleTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/http_jetty/EngineLifecycleTest.java?rev=1501313&r1=1501312&r2=1501313&view=diff
==============================================================================
--- cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/http_jetty/EngineLifecycleTest.java (original)
+++ cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/http_jetty/EngineLifecycleTest.java Tue Jul  9 15:06:05 2013
@@ -123,7 +123,7 @@ public class EngineLifecycleTest extends
                 break;
             } catch (Exception ex) {
                 response = null;
-                Thread.sleep(1000);
+                Thread.sleep(2 * 1000);
             }
         }
         assertNotNull("Test doc can not be read", response);
@@ -207,14 +207,14 @@ public class EngineLifecycleTest extends
         invokeService8801();
         shutdownService();
         System.gc(); //make sure the port is cleaned up a bit
-        Thread.sleep(100);
+        Thread.sleep(2 * 100);
         System.gc(); 
         verifyNoServer(PORT2);
         verifyNoServer(PORT1);
         
         
         setUpBus(true);
-        Thread.sleep(100);       
+        Thread.sleep(2 * 100);       
         invokeService();            
         invokeService8801();
         getTestHtml();