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: NO-JIRA: Simple Test fix on DeadLetterAdressTest
Date Sat, 01 Apr 2017 19:59:33 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 9c472013e -> 5f939cf61


NO-JIRA: Simple Test fix on DeadLetterAdressTest


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

Branch: refs/heads/master
Commit: afd1835a8f555fd3fe66dcf00b8d200c4e7ff995
Parents: 9c47201
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Sat Apr 1 15:49:42 2017 -0400
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Sat Apr 1 15:49:42 2017 -0400

----------------------------------------------------------------------
 .../artemis/tests/integration/client/DeadLetterAddressTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/afd1835a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/DeadLetterAddressTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/DeadLetterAddressTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/DeadLetterAddressTest.java
index 0daf482..8c9b809 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/DeadLetterAddressTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/DeadLetterAddressTest.java
@@ -121,7 +121,7 @@ public class DeadLetterAddressTest extends ActiveMQTestBase {
          Assert.assertNull(m);
          clientConsumer.close();
       }
-      assertEquals("File descriptors are leaking", 0, ((UnixOperatingSystemMXBean) os).getOpenFileDescriptorCount()
- fdBaseline);
+      assertTrue("File descriptors are leaking", ((UnixOperatingSystemMXBean) os).getOpenFileDescriptorCount()
- fdBaseline <= 0);
    }
 
    // HORNETQ- 1084


Mime
View raw message