Qpid
  1. Qpid
  2. QPID-3454

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10, 0.11, 0.12
    • Fix Version/s: 0.13
    • Component/s: Java Tests
    • Labels:
      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.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development