[
https://issues.apache.org/jira/browse/OOZIE-3244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16893793#comment-16893793
]
Andras Salamon commented on OOZIE-3244:
---------------------------------------
We don't need the following line in the test method anymore, because after
OOZIE-1807 bundle changes are synchronous:
{noformat}
sleep(1000); // time for the queued CoordChangeXCommand to complete{noformat}
but I don't think it explains the flakiness.
> Flaky test
> TestBundleChangeXCommand#testBundlePauseExtendMaterializesCoordinator
> --------------------------------------------------------------------------------
>
> Key: OOZIE-3244
> URL: https://issues.apache.org/jira/browse/OOZIE-3244
> Project: Oozie
> Issue Type: Sub-task
> Reporter: Peter Bacsko
> Assignee: Peter Bacsko
> Priority: Major
>
> The testcase
> TestBundleChangeXCommand#testBundlePauseExtendMaterializesCoordinator
> occasionally fails:
> {noformat}
> junit.framework.AssertionFailedError: expected:<RUNNING> but was:<SUCCEEDED>
> at
> org.apache.oozie.command.bundle.TestBundleChangeXCommand.testBundlePauseExtendMaterializesCoordinator(TestBundleChangeXCommand.java:244)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)