diff --git a/tests/extra-tests/src/test/java/org/apache/activemq/artemis/tests/extras/byteman/ConcurrentDeliveryCancelTest.java b/tests/extra-tests/src/test/java/org/apache/activemq/artemis/tests/extras/byteman/ConcurrentDeliveryCancelTest.java index f33685ca5b..15cfc19632 100644 --- a/tests/extra-tests/src/test/java/org/apache/activemq/artemis/tests/extras/byteman/ConcurrentDeliveryCancelTest.java +++ b/tests/extra-tests/src/test/java/org/apache/activemq/artemis/tests/extras/byteman/ConcurrentDeliveryCancelTest.java @@ -246,12 +246,7 @@ public class ConcurrentDeliveryCancelTest extends JMSTestBase { } } - if (failed) { - System.err.println("Failed"); - System.exit(-1); - } - - Assert.assertFalse("test failed, look at the system.out of the test for more infomration", failed); + Assert.assertFalse("test failed, look at the system.out of the test for more information", failed); } finally { connection.close();