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

Tests may hang instead of fail if message does not get through

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JMS AMQP 0-x
    • Labels:
      None

      Description

      There are several tests where session.receive() is called. If there is a bug in the code, then the message may not get through, in which case the test will wait forever, and not fail. Calls to receive should instead pass a timeout value.

      Patch to follow

        Attachments

          Activity

            People

            • Assignee:
              rgodfrey Rob Godfrey
              Reporter:
              rgodfrey Rob Godfrey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: