activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [1/2] activemq-artemis git commit: ARTEMIS-442 - [Artemis Testsuite] ConcurrentDeliveryCancelTest#testConcurrentCancels calls System.exit
Date Fri, 18 Mar 2016 14:11:52 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 57c1c338e -> 923c12c7a


ARTEMIS-442 - [Artemis Testsuite] ConcurrentDeliveryCancelTest#testConcurrentCancels calls
System.exit


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/edadc79c
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/edadc79c
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/edadc79c

Branch: refs/heads/master
Commit: edadc79c5f008d8d3a530b45bf109a127c389e5b
Parents: 57c1c33
Author: Erich Duda <eduda@redhat.com>
Authored: Fri Mar 18 09:35:40 2016 +0100
Committer: Erich Duda <eduda@redhat.com>
Committed: Fri Mar 18 09:35:40 2016 +0100

----------------------------------------------------------------------
 .../tests/extras/byteman/ConcurrentDeliveryCancelTest.java    | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/edadc79c/tests/extra-tests/src/test/java/org/apache/activemq/artemis/tests/extras/byteman/ConcurrentDeliveryCancelTest.java
----------------------------------------------------------------------
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 f33685c..15cfc19 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();


Mime
View raw message