NO-JIRA avoiding having rogue process when running test
This commit is contained in:
parent
c320d8bf0d
commit
a2d6d1d89d
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue