cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1310147 - /cxf/trunk/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/ClientPersistenceTest.java
Date Fri, 06 Apr 2012 01:28:56 GMT
Author: dkulp
Date: Fri Apr  6 01:28:55 2012
New Revision: 1310147

URL: http://svn.apache.org/viewvc?rev=1310147&view=rev
Log:
Fix random failure with -T8 on my box

Modified:
    cxf/trunk/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/ClientPersistenceTest.java

Modified: cxf/trunk/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/ClientPersistenceTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/ClientPersistenceTest.java?rev=1310147&r1=1310146&r2=1310147&view=diff
==============================================================================
--- cxf/trunk/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/ClientPersistenceTest.java
(original)
+++ cxf/trunk/systests/ws-rm/src/test/java/org/apache/cxf/systest/ws/rm/ClientPersistenceTest.java
Fri Apr  6 01:28:55 2012
@@ -258,7 +258,10 @@ public class ClientPersistenceTest exten
         mf.verifyMessageNumbers(new String[] {"5"}, true);
         mf.verifyAcknowledgements(new boolean[1], true);
 
-        mf.verifyMessages(2, false);
+        // need in-exact as it COULD be 3 acks on a slow machine
+        //normally it will ack 1,3,5 and then 1-5, but on a slow machine,
+        //I've seen 1,3,5, then 1-3,5, and then 1-5
+        mf.verifyMessages(2, false, false);
 
         // we can't reliably predict how the three remaining messages are acknowledged
 //        expectedActions = new String[] {RM10Constants.SEQUENCE_ACKNOWLEDGMENT_ACTION,



Mime
View raw message