From afd1835a8f555fd3fe66dcf00b8d200c4e7ff995 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Sat, 1 Apr 2017 15:49:42 -0400 Subject: [PATCH] NO-JIRA: Simple Test fix on DeadLetterAdressTest --- .../artemis/tests/integration/client/DeadLetterAddressTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0daf48284e..8c9b8099b7 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