You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by or...@apache.org on 2016/12/07 17:05:01 UTC

svn commit: r1773119 - in /qpid/java/trunk: systests/src/test/java/org/apache/qpid/test/unit/transacted/CommitRollbackTest.java test-profiles/Java10BrokenTestsExcludes

Author: orudyy
Date: Wed Dec  7 17:05:01 2016
New Revision: 1773119

URL: http://svn.apache.org/viewvc?rev=1773119&view=rev
Log:
QPID-7546: Fix CommitRollbackTest#testRollbackSoak by closing the 'default' consumer as it was receiving all the messages whilst the test is expecting to receive all messages with two other consumers

Modified:
    qpid/java/trunk/systests/src/test/java/org/apache/qpid/test/unit/transacted/CommitRollbackTest.java
    qpid/java/trunk/test-profiles/Java10BrokenTestsExcludes

Modified: qpid/java/trunk/systests/src/test/java/org/apache/qpid/test/unit/transacted/CommitRollbackTest.java
URL: http://svn.apache.org/viewvc/qpid/java/trunk/systests/src/test/java/org/apache/qpid/test/unit/transacted/CommitRollbackTest.java?rev=1773119&r1=1773118&r2=1773119&view=diff
==============================================================================
--- qpid/java/trunk/systests/src/test/java/org/apache/qpid/test/unit/transacted/CommitRollbackTest.java (original)
+++ qpid/java/trunk/systests/src/test/java/org/apache/qpid/test/unit/transacted/CommitRollbackTest.java Wed Dec  7 17:05:01 2016
@@ -528,6 +528,8 @@ public class CommitRollbackTest extends
     public void testRollbackSoak() throws Exception
     {
         newConnection();
+        _consumer.close();
+
         final int rollbackTime = 2000;
         final int numberOfMessages = 1000;
         final int numberOfConsumers = 2;

Modified: qpid/java/trunk/test-profiles/Java10BrokenTestsExcludes
URL: http://svn.apache.org/viewvc/qpid/java/trunk/test-profiles/Java10BrokenTestsExcludes?rev=1773119&r1=1773118&r2=1773119&view=diff
==============================================================================
--- qpid/java/trunk/test-profiles/Java10BrokenTestsExcludes (original)
+++ qpid/java/trunk/test-profiles/Java10BrokenTestsExcludes Wed Dec  7 17:05:01 2016
@@ -42,7 +42,6 @@ org.apache.qpid.systest.rest.PublishMess
 
 // Tests failing waiting for messages - needs investigation
 org.apache.qpid.test.unit.transacted.CommitRollbackTest#testSend2ThenCloseAfter1andTryAgain
-org.apache.qpid.test.unit.transacted.CommitRollbackTest#testRollbackSoak
 
 // this test fails - likely a client bug with the modification racing the send
 org.apache.qpid.test.unit.basic.BytesMessageTest#testModificationAfterSend



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org