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 eac6ae7  QPIDJMS-529: verify the termination completes in alotted 
time, ensuring test fails if it doesnt
eac6ae7 is described below

commit eac6ae78400b018e69d5791af711adbf7b67568e
Author: Robbie Gemmell <rob...@apache.org>
AuthorDate: Mon Mar 29 16:16:41 2021 +0100

    QPIDJMS-529: verify the termination completes in alotted time, ensuring 
test fails if it doesnt
---
 .../java/org/apache/qpid/jms/integration/ProducerIntegrationTest.java   | 2 +-
 1 file changed, 1 insertion(+), 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 ceba81f..e96130f 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
@@ -3154,7 +3154,7 @@ public class ProducerIntegrationTest extends 
QpidJmsTestCase {
             });
 
             executor.shutdown();
-            executor.awaitTermination(20, TimeUnit.SECONDS);
+            assertTrue("send + close didnt complete in given time", 
executor.awaitTermination(20, TimeUnit.SECONDS));
 
             session.close();
 

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

Reply via email to