NO-JIRA: Simple Test fix on DeadLetterAdressTest

This commit is contained in:
Clebert Suconic 2017-04-01 15:49:42 -04:00
parent 9c472013e2
commit afd1835a8f
1 changed files with 1 additions and 1 deletions

View File

@ -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