Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3454

System test StreamMessageTest would not detect regression in StreamMessage buffer expansion.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10, 0.11, 0.12
    • 0.13
    • Java Tests
    • None

    Description

      A defect in the logic of StreamMessageTest#testModifyReceivedMessageExpandsBuffer would mean that a regression could go unnoticed.

      The test incorrectly uses a Junit assertion within an onMessage. Unfortunately if this assertion were to ever fail, the Junit test harness would not hear the assertion fail as onMessage is executed by a separate thread.

      Attachments

        Activity

          People

            robbie Robbie Gemmell
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: