tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1357956 - /openejb/trunk/openejb/itests/failover/src/test/java/org/apache/openejb/itest/failover/RandomConnectionStrategyTest.java
Date Thu, 05 Jul 2012 21:52:11 GMT
Author: dblevins
Date: Thu Jul  5 21:52:10 2012
New Revision: 1357956

URL: http://svn.apache.org/viewvc?rev=1357956&view=rev
Log:
Up the test timeout to 30 seconds instead of 10.  Frequently fails in the CI system
TOMEE-0 (not feature or fix related)

Modified:
    openejb/trunk/openejb/itests/failover/src/test/java/org/apache/openejb/itest/failover/RandomConnectionStrategyTest.java

Modified: openejb/trunk/openejb/itests/failover/src/test/java/org/apache/openejb/itest/failover/RandomConnectionStrategyTest.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/itests/failover/src/test/java/org/apache/openejb/itest/failover/RandomConnectionStrategyTest.java?rev=1357956&r1=1357955&r2=1357956&view=diff
==============================================================================
--- openejb/trunk/openejb/itests/failover/src/test/java/org/apache/openejb/itest/failover/RandomConnectionStrategyTest.java
(original)
+++ openejb/trunk/openejb/itests/failover/src/test/java/org/apache/openejb/itest/failover/RandomConnectionStrategyTest.java
Thu Jul  5 21:52:10 2012
@@ -160,7 +160,7 @@ public class RandomConnectionStrategyTes
             final URI serverURI = server.getContext().get(URI.class);
 
             logger.info("Waiting for updated list");
-            services.assertServices(10, TimeUnit.SECONDS, new CalculatorCallable(bean), 500);
+            services.assertServices(30, TimeUnit.SECONDS, new CalculatorCallable(bean), 500);
 
             logger.info("Asserting balance");
             assertBalance(bean, services.get().size());
@@ -194,7 +194,7 @@ public class RandomConnectionStrategyTes
             services.add(serverURI);
 
             logger.info("Waiting for updated list");
-            services.assertServices(10, TimeUnit.SECONDS, new CalculatorCallable(bean), 500);
+            services.assertServices(30, TimeUnit.SECONDS, new CalculatorCallable(bean), 500);
 
             logger.info("Asserting balance");
             assertBalance(bean, services.get().size());



Mime
View raw message