Qpid
  1. Qpid
  2. QPID-1825

Improve TimeToLiveTest.testActive to prevent spurious failures

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: M4, 0.5
    • Fix Version/s: 0.7
    • Component/s: Java Tests
    • Labels:
      None

      Description

      Summary:

      Currently the systest TimeToLiveTest fails on the Java profile as some of the messages sent with a TTL value are expected to time out and the test does not account for the situation when they have not.

      An improvement to the test would be to ensure that not all of the messages are recevied as that would signify that TTL is actually broken in the server.

      A little further investigation into why some of the messages are returning would also be useful.
      Currently the test sends messages with a TTL of 100ms in a transaction. After the commit (so the broker definitely has the messages) it waits 100ms then starts the consumer, yet some of the messages have not been expired by the Java broker.

        Activity

        Martin Ritchie created issue -
        Martin Ritchie made changes -
        Field Original Value New Value
        Assignee Martin Ritchie [ ritchiem ]
        Martin Ritchie made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Martin Ritchie made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        Martin Ritchie made changes -
        Summary Improve TimeToLiveTest to prevent spurious failures Improve TimeToLiveTest.testActive to prevent spurious failures
        Fix Version/s 0.7 [ 12314455 ]
        Marnie McCormack made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        271d 8h 15m 1 Martin Ritchie 19/Jan/10 19:26
        In Progress In Progress Reviewable Reviewable
        5s 1 Martin Ritchie 19/Jan/10 19:26
        Reviewable Reviewable Resolved Resolved
        316d 2h 46m 1 Marnie McCormack 01/Dec/10 22:13

          People

          • Assignee:
            Martin Ritchie
            Reporter:
            Martin Ritchie
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development