Qpid
  1. Qpid
  2. QPID-322

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Java Client
    • 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

      1. QPID-322.patch
        17 kB
        Rob Godfrey

        Activity

        Hide
        Robert Greig added a comment -

        Patch applied svn revision 501007

        Show
        Robert Greig added a comment - Patch applied svn revision 501007

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development