clebertsuconic commented on code in PR #5338: URL: https://github.com/apache/activemq-artemis/pull/5338#discussion_r1838156501
########## tests/soak-tests/src/test/java/org/apache/activemq/artemis/tests/soak/interruptlm/ClusteredLargeMessageInterruptTest.java: ########## @@ -375,21 +344,20 @@ private void testInterruptFailOnBridge(String protocol, boolean tx) throws Throw ExecutorService executorService = Executors.newFixedThreadPool(SENDING_THREADS + CONSUMING_THREADS); runAfter(executorService::shutdownNow); - // only start the sender for a while CountDownLatch sendDone = startSendingThreads(executorService, protocol, 0, SENDING_THREADS, tx, queueName); Thread.sleep(2000); runningSend = runningConsumer = false; - killProcess(serverProcess, false); - assertTrue(serverProcess.waitFor(10, TimeUnit.MINUTES)); + killProcess(serverProcess); + assertTrue(serverProcess.waitFor(1, TimeUnit.MINUTES)); assertTrue(sendDone.await(10, TimeUnit.SECONDS)); sendDone = startSendingThreads(executorService, protocol, 1, SENDING_THREADS, tx, queueName); CountDownLatch receiverDone = startConsumingThreads(executorService, protocol, 1, CONSUMING_THREADS, tx, queueName); - killProcess(serverProcess, false); - assertTrue(serverProcess.waitFor(10, TimeUnit.SECONDS)); + killProcess(serverProcess); + assertTrue(serverProcess.waitFor(1, TimeUnit.MINUTES)); Review Comment: I did it as a precaution as I said earlier ^^ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact