9 Replies Latest reply on Dec 19, 2008 5:36 AM by Yong Hao Gao

    JBMESSAGING-1460 - ScheduledDeliveryTest on JBM 1.4

    Clebert Suconic Master

      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.