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

        Alex Rudyy created issue -
        Alex Rudyy made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        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
        Alex Rudyy made changes -
        Alex Rudyy made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        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?
        Alex Rudyy made changes -
        Assignee Alex Rudyy [ alex.rufous ] Keith Wall [ k-wall ]
        Hide
        Rob Godfrey added a comment -

        Fix looks OK to me

        Show
        Rob Godfrey added a comment - Fix looks OK to me
        Rob Godfrey made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Assignee Keith Wall [ k-wall ] Rob Godfrey [ rgodfrey ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development