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 <[email protected]> Authored: Sat Apr 1 15:49:42 2017 -0400 Committer: Clebert Suconic <[email protected]> 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
