From edadc79c5f008d8d3a530b45bf109a127c389e5b Mon Sep 17 00:00:00 2001 From: Erich Duda Date: Fri, 18 Mar 2016 09:35:40 +0100 Subject: [PATCH] ARTEMIS-442 - [Artemis Testsuite] ConcurrentDeliveryCancelTest#testConcurrentCancels calls System.exit --- .../tests/extras/byteman/ConcurrentDeliveryCancelTest.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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();