qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5760) BDBHAVirtualHostNodeRestTest test should call waitForAttributeChange to avoid potential test failure race condition
Date Fri, 18 Jul 2014 21:32:05 GMT

    [ https://issues.apache.org/jira/browse/QPID-5760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14066912#comment-14066912
] 

Keith Wall commented on QPID-5760:
----------------------------------

Fixed by QPID-5715.

> BDBHAVirtualHostNodeRestTest test should call waitForAttributeChange to avoid potential
test failure race condition
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-5760
>                 URL: https://issues.apache.org/jira/browse/QPID-5760
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Andrew MacBean
>            Priority: Minor
>             Fix For: 0.29
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message