You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/05/12 13:34:15 UTC
[jira] [Commented] (QPID-5761) BDBHAVirtualHostNodeRestTest test
should call waitForAttributeChange to avoid potential test failure race
condition
[ https://issues.apache.org/jira/browse/QPID-5761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13995003#comment-13995003 ]
ASF subversion and git services commented on QPID-5761:
-------------------------------------------------------
Commit 1593930 from orudyy@apache.org in branch 'qpid/trunk'
[ https://svn.apache.org/r1593930 ]
QPID-5761: Fix BDBHAVirtualHostNodeRestTest test failure caused by premature call to virtual host rest service before opening of virtual host
Patch Supplied by Andrew MacBean <an...@gmail.com>.
> 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
> Assignee: Alex Rudyy
> Priority: Minor
> Fix For: 0.29
>
> Attachments: 0001-QPID-5761-BDBHAVirtualHostNodeRestTest-test-should-c.patch
>
> 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