Commit b521eb86 authored by Andre Freyssinet's avatar Andre Freyssinet

Fix a potential issue with fast CPU.

parent 2219337d
......@@ -136,7 +136,7 @@ public class RedeliveryDelay_Q extends TestCase implements javax.jms.MessageList
// Wait to receive the message.
Thread.sleep(10000L);
assertTrue("The rollback or recover message not received after the redelivery delay", time > 5000);
assertTrue("The rollback or recover message not received after the redelivery delay", time >= 5000);
context.close();
prodCtx.close();
......
......@@ -131,7 +131,7 @@ public class RedeliveryDelay_T extends TestCase implements javax.jms.MessageList
// Wait to receive the message.
Thread.sleep(10000);
assertTrue("The rollback or recover message not received after the redelivery delay", time > 5000);
assertTrue("The rollback or recover message not received after the redelivery delay", time >= 5000);
context.close();
prodCtx.close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment