activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r383632 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTransactionTestSupport.java
Date Mon, 06 Mar 2006 19:37:38 GMT
Author: jstrachan
Date: Mon Mar  6 11:37:37 2006
New Revision: 383632

URL: http://svn.apache.org/viewcvs?rev=383632&view=rev
Log:
increased timeout to ensure test always works

Modified:
    incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTransactionTestSupport.java

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTransactionTestSupport.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTransactionTestSupport.java?rev=383632&r1=383631&r2=383632&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTransactionTestSupport.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTransactionTestSupport.java
Mon Mar  6 11:37:37 2006
@@ -444,7 +444,7 @@
         session.commit();
 
         log.info("About to consume message 1");
-        Message message = consumer.receive(1000);
+        Message message = consumer.receive(5000);
 
         List body = assertReceivedObjectMessageWithListBody(message);
 
@@ -460,7 +460,7 @@
         body.add("This should never be seen!");
         session.rollback();
 
-        message = consumer.receive(1000);
+        message = consumer.receive(5000);
         List secondBody = assertReceivedObjectMessageWithListBody(message);
         assertNotSame("Second call should return a different body", secondBody, body);
         session.commit();



Mime
View raw message