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

        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.
        Hide
        Robbie Gemmell added a comment -

        Patch applied.

        Show
        Robbie Gemmell added a comment - Patch applied.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development