camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1341854 - /camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tx/JMSTransactionIsTransactedRedeliveredTest.java
Date Wed, 23 May 2012 13:17:13 GMT
Author: davsclaus
Date: Wed May 23 13:17:13 2012
New Revision: 1341854

URL: http://svn.apache.org/viewvc?rev=1341854&view=rev
Log:
Fixed test on a slower box

Modified:
    camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tx/JMSTransactionIsTransactedRedeliveredTest.java

Modified: camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tx/JMSTransactionIsTransactedRedeliveredTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tx/JMSTransactionIsTransactedRedeliveredTest.java?rev=1341854&r1=1341853&r2=1341854&view=diff
==============================================================================
--- camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tx/JMSTransactionIsTransactedRedeliveredTest.java
(original)
+++ camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/tx/JMSTransactionIsTransactedRedeliveredTest.java
Wed May 23 13:17:13 2012
@@ -72,6 +72,8 @@ public class JMSTransactionIsTransactedR
         error.assertIsSatisfied();
 
         // check JMX stats
+        // need a little sleep to ensure JMX is updated
+        Thread.sleep(500);
 
         ObjectName name = ObjectName.getInstance("org.apache.camel:context=localhost/camel-1,type=routes,name=\"myRoute\"");
 



Mime
View raw message