CommitRollbackTest may fail even because test incorrectly specified
-------------------------------------------------------------------

                 Key: QPID-625
                 URL: https://issues.apache.org/jira/browse/QPID-625
             Project: Qpid
          Issue Type: Bug
    Affects Versions: M2
            Reporter: Rob Godfrey
            Assignee: Rob Godfrey
             Fix For: M2, M2.1


CommitRollbackTest.testSend2ThenCloseAfter1andTryAgain() occaisionally fails 
because there is an assertion that the second message to arrive after rollback 
must be marked as redelivered.  This assertion is based on a false premise as 
the following scenario is valid

receive ("1", redelivered = false)
rollback
receive("1", redelivered = true)
receive("2", redelivered = false)

Instead the test should assert that if the message content is "1" then 
redelivered must equal true; and that the content of the two messages received 
after the rollback must be different (i.e. one must be "1" and one must be "2").

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to