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

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit a2d6d1d89d67d469a1e3ea7857b325d57728ea60
Author: Clebert Suconic <clebertsuco...@apache.org>
AuthorDate: Mon Nov 2 11:23:52 2020 -0500

    NO-JIRA avoiding having rogue process when running test
---
 .../artemis/tests/integration/amqp/connect/QpidDispatchPeerTest.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/connect/QpidDispatchPeerTest.java
 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/connect/QpidDispatchPeerTest.java
index 0ab1e45..54e5397 100644
--- 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/connect/QpidDispatchPeerTest.java
+++ 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/connect/QpidDispatchPeerTest.java
@@ -74,6 +74,7 @@ public class QpidDispatchPeerTest extends 
AmqpClientTestSupport {
 
    @Before
    public void startQpidRouter() throws Exception {
+      ExecuteUtil.runCommand(false, "killall", "-9", "qdrouterd"); // killing 
any previous running qdrouterd that may have been left from the execution
       URL qpidConfig = 
this.getClass().getClassLoader().getResource("QpidRouterPeerTest-qpidr.conf");
       qpidProcess = ExecuteUtil.run(true, "qdrouterd", "-c", 
qpidConfig.getFile());
    }

Reply via email to