[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - JBMESSAGING-1460 - ScheduledDeliveryTest on JBM 1.4

clebert.suconic@jboss.com do-not-reply at jboss.com
Thu Dec 18 17:20:08 EST 2008


Howard,

testRemoveAllReferences was added on JBM 1.4 Branch.


   //https://jira.jboss.org/jira/browse/JBMESSAGING-1460
  |    public void testRemoveAllReferences() throws Exception
  |    {
  | 
  | ....
  |          assertRemainingMessages(-1);  // (Why?)   
  | 
  | ....
  |    }
  | 


Why assertRemainingMessages for -1 and not 0?

The following test after this is failing, as setup aways check for remainingMessages = 0.


I'm adding the same check on setUp, so it is more clear the test is failing.

I'm reopening the JIRA as the test is failing.

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

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



More information about the jboss-dev-forums mailing list