NO-JIRA: Simple Test fix on DeadLetterAdressTest
This commit is contained in:
parent
9c472013e2
commit
afd1835a8f
|
@ -121,7 +121,7 @@ public class DeadLetterAddressTest extends ActiveMQTestBase {
|
||||||
Assert.assertNull(m);
|
Assert.assertNull(m);
|
||||||
clientConsumer.close();
|
clientConsumer.close();
|
||||||
}
|
}
|
||||||
assertEquals("File descriptors are leaking", 0, ((UnixOperatingSystemMXBean) os).getOpenFileDescriptorCount() - fdBaseline);
|
assertTrue("File descriptors are leaking", ((UnixOperatingSystemMXBean) os).getOpenFileDescriptorCount() - fdBaseline <= 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// HORNETQ- 1084
|
// HORNETQ- 1084
|
||||||
|
|
Loading…
Reference in New Issue