Qpid
  1. Qpid
  2. QPID-3894

Improve MessageListener system tests

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.17
    • Fix Version/s: 0.17
    • Component/s: Java Tests
    • Labels:
      None

      Description

      I notice that the MessageListener system tests are quite a poor state:

      • Duplication between test cases.
      • MessageListenerMultiConsumerImmediatePrefetch does not run as its name does not match the Ant **Test.java glob.
      • MessageListenerTest actually tests synchronous receive() operations too.

      I've refactored the test cases and created AsynchMessageListenerTest and SynchReceiveTest.

        Activity

        Hide
        Robbie Gemmell added a comment -

        Seem to have somewhat overlooked clicking the button, but I recall seeing this at the time, closing out.

        Show
        Robbie Gemmell added a comment - Seem to have somewhat overlooked clicking the button, but I recall seeing this at the time, closing out.
        Hide
        Keith Wall added a comment -

        Commit made. Robbie, would you mind reviewing?

        Show
        Keith Wall added a comment - Commit made. Robbie, would you mind reviewing?

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Keith Wall
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development