NO-JIRA smoke tests hanging on termination

This commit is contained in:
Justin Bertram 2023-06-30 12:39:19 -05:00 committed by Robbie Gemmell
parent 196e479ae8
commit f279eede60
1 changed files with 3 additions and 0 deletions

View File

@ -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);