Qpid
  1. Qpid
  2. QPID-4081

If Exception is thrown on stopping of first broker from several brokers started by test case, the remaining brokers continue running and impact all following test cases

    Details

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

      Description

      If Exception is thrown on stopping of any broker from several brokers started by test case, the remaining brokers are left running and might continue operating and impact all following test cases. As result, if any of the following tests tries to start broker on the occupied port, the broker does not start and test fails.

        Activity

        Hide
        Alex Rudyy added a comment -

        Attached a patch changing broker shutdown functionality to catch Exceptions thrown on broker shutdown, create a broker thread dump and try to kill the broker process

        Show
        Alex Rudyy added a comment - Attached a patch changing broker shutdown functionality to catch Exceptions thrown on broker shutdown, create a broker thread dump and try to kill the broker process
        Hide
        Alex Rudyy added a comment -

        Keith,
        Could you please review and commit the patch attached?

        Show
        Alex Rudyy added a comment - Keith, Could you please review and commit the patch attached?
        Hide
        Rob Godfrey added a comment -

        Fix looks OK to me

        Show
        Rob Godfrey added a comment - Fix looks OK to me

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development