qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arnaudsi...@apache.org
Subject svn commit: r586521 - /incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/test/unit/ack/RecoverTest.java
Date Fri, 19 Oct 2007 16:24:36 GMT
Author: arnaudsimon
Date: Fri Oct 19 09:24:35 2007
New Revision: 586521

URL: http://svn.apache.org/viewvc?rev=586521&view=rev
Log:
Added timeout for avoiding locking

Modified:
    incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/test/unit/ack/RecoverTest.java

Modified: incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/test/unit/ack/RecoverTest.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/test/unit/ack/RecoverTest.java?rev=586521&r1=586520&r2=586521&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/test/unit/ack/RecoverTest.java
(original)
+++ incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/test/unit/ack/RecoverTest.java
Fri Oct 19 09:24:35 2007
@@ -209,7 +209,7 @@
         _logger.info("Starting connection");
         con.start();
 
-        TextMessage tm2 = (TextMessage) consumer2.receive();
+        TextMessage tm2 = (TextMessage) consumer2.receive(2000);
         assertNotNull(tm2);
         assertEquals("msg2", tm2.getText());
 



Mime
View raw message