You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2016/05/24 21:50:34 UTC

qpid-jms git commit: NO-JIRA: guard against spurious failure due to race between processing close frame and shutting down the test peer after expected timeout detected

Repository: qpid-jms
Updated Branches:
  refs/heads/master 7e2c5702d -> b646ca0f9


NO-JIRA: guard against spurious failure due to race between processing close frame and shutting down the test peer after expected timeout detected


Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/b646ca0f
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/b646ca0f
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/b646ca0f

Branch: refs/heads/master
Commit: b646ca0f9e5da730961347673df3fba19784e644
Parents: 7e2c570
Author: Robert Gemmell <ro...@apache.org>
Authored: Tue May 24 22:50:15 2016 +0100
Committer: Robert Gemmell <ro...@apache.org>
Committed: Tue May 24 22:50:15 2016 +0100

----------------------------------------------------------------------
 .../org/apache/qpid/jms/integration/IdleTimeoutIntegrationTest.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/b646ca0f/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/IdleTimeoutIntegrationTest.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/IdleTimeoutIntegrationTest.java b/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/IdleTimeoutIntegrationTest.java
index f372e02..04f2ce4 100644
--- a/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/IdleTimeoutIntegrationTest.java
+++ b/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/IdleTimeoutIntegrationTest.java
@@ -191,6 +191,7 @@ public class IdleTimeoutIntegrationTest extends QpidJmsTestCase {
             }, 10000, 10);
 
             assertTrue("connection didnt fail in expected timeframe", failed);
+            testPeer.waitForAllHandlersToComplete(1000);
         }
     }
 


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