This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-jms.git


The following commit(s) were added to refs/heads/main by this push:
     new 9e99edf  QPIDJMS-529: close down connection at end, ensure test 
timeout exceeds component timeouts
9e99edf is described below

commit 9e99edf31865b096500e984c2bc577ba72ad910c
Author: Robbie Gemmell <rob...@apache.org>
AuthorDate: Mon Mar 29 15:55:47 2021 +0100

    QPIDJMS-529: close down connection at end, ensure test timeout exceeds 
component timeouts
---
 .../org/apache/qpid/jms/integration/ProducerIntegrationTest.java   | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git 
a/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/ProducerIntegrationTest.java
 
b/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/ProducerIntegrationTest.java
index dc88525..ceba81f 100644
--- 
a/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/ProducerIntegrationTest.java
+++ 
b/qpid-jms-client/src/test/java/org/apache/qpid/jms/integration/ProducerIntegrationTest.java
@@ -3107,7 +3107,7 @@ public class ProducerIntegrationTest extends 
QpidJmsTestCase {
      * @throws Exception
      */
     @Repeat(repetitions = 1)
-    @Test(timeout = 20000)
+    @Test(timeout = 35000)
     public void testSendToRemotelyClosedProducerFailsIfSendAfterDetached() 
throws Exception {
         try (TestAmqpPeer testPeer = new TestAmqpPeer();) {
             JmsConnection connection = (JmsConnection) 
testFixture.establishConnecton(testPeer);
@@ -3159,6 +3159,11 @@ public class ProducerIntegrationTest extends 
QpidJmsTestCase {
             session.close();
 
             testPeer.waitForAllHandlersToComplete(1000);
+
+            testPeer.expectClose();
+            connection.close();
+
+            testPeer.waitForAllHandlersToComplete(1000);
         }
     }
 }

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

Reply via email to