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/activemq-artemis.git

commit f279eede60513b629f2a4d7f4c766da17ed29c15
Author: Justin Bertram <[email protected]>
AuthorDate: Fri Jun 30 12:39:19 2023 -0500

    NO-JIRA smoke tests hanging on termination
---
 .../org/apache/activemq/artemis/tests/smoke/common/SmokeTestBase.java  | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/common/SmokeTestBase.java
 
b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/common/SmokeTestBase.java
index e2c0b9a927..ef8ef63034 100644
--- 
a/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/common/SmokeTestBase.java
+++ 
b/tests/smoke-tests/src/test/java/org/apache/activemq/artemis/tests/smoke/common/SmokeTestBase.java
@@ -47,6 +47,9 @@ public class SmokeTestBase extends ActiveMQTestBase {
 
    @After
    public void after() throws Exception {
+      // close ServerLocators before killing the server otherwise they'll hang 
and delay test termination
+      closeAllServerLocatorsFactories();
+
       for (Process process : processes) {
          try {
             ServerUtil.killServer(process, true);

Reply via email to