Qpid
  1. Qpid
  2. QPID-3359

FailoverMethodTest.testNoFailover unreliable since QPID-2815

    Details

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

      Description

      FailoverMethodTest used to be inVM tests until QPID-2815, with removal of ivVM, converted the test to use QpidBrokerTestCase. However, since then we notice this test fails on slower CI boxes. It turns out the test design is extremely sensitive the length of time the broker takes to start up. If broker startup is slightly too slow, the test fails, and 'spawn' profiles leave behind a broker process (causing subsequent tests to fail).

      We will make the test a same-VM test to temporarily avoid the issue. In long term, test needs redesigned to avoid the issue.

        Activity

        Keith Wall created issue -
        Keith Wall made changes -
        Field Original Value New Value
        Assignee Keith Wall [ k-wall ]
        Fix Version/s 0.13 [ 12316854 ]
        Affects Version/s 0.13 [ 12316854 ]
        Component/s Java Tests [ 12311960 ]
        Hide
        Keith Wall added a comment -

        Hi Robbie. Here's a patch to resolve this issue.

        Show
        Keith Wall added a comment - Hi Robbie. Here's a patch to resolve this issue.
        Keith Wall made changes -
        Keith Wall made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Keith Wall made changes -
        Assignee Keith Wall [ k-wall ] Robbie Gemmell [ gemmellr ]
        Hide
        Robbie Gemmell added a comment -

        Patch applied.

        Show
        Robbie Gemmell added a comment - Patch applied.
        Robbie Gemmell made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        6m 41s 1 Keith Wall 15/Jul/11 10:11
        In Progress In Progress Resolved Resolved
        18m 5s 1 Robbie Gemmell 15/Jul/11 10:29

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development