[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - ScheduledDeliveryTest::testDelayedRedeliveryDefault eventual

clebert.suconic@jboss.com do-not-reply at jboss.com
Thu Jul 16 00:02:14 EDT 2009


there are two assertions on this test:


            assertTrue(time - now >= delay);
  | 
  |             // Hudson can introduce a large degree of indeterminism
  |             assertTrue(time - now + ">" + (delay + 1000), time - now < delay + 1000);
  | 
  | 


The second assertion can fail due to delays such as large Garbage Collections...etc.

IMO we should just remove it, since the first assertion should be already sufficient for scheduled messages.

that failure is also causing cascade failures due to something not being consumed or cleared up.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243945#4243945

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243945



More information about the jboss-dev-forums mailing list