Andrew MacBean created QPID-5761:
------------------------------------

             Summary: BDBHAVirtualHostNodeRestTest test should call 
waitForAttributeChange to avoid potential test failure race condition
                 Key: QPID-5761
                 URL: https://issues.apache.org/jira/browse/QPID-5761
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: 0.28
            Reporter: Andrew MacBean
            Priority: Minor
             Fix For: 0.29


The testCreate3NodesCluster() calls the helper method assertNode(...) which in 
turn checks the state of the master note by calling 
getRestTestHelper().getJsonAsSingletonList(...)

This means that the test can fail if the the transition hasnt occured yet and 
so should be changed to make use of the waitForAttributeChanged(...) method to 
avoid this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to