TestPauseTransitService sometime failes due to timing issue
-----------------------------------------------------------
Key: OOZIE-706
URL: https://issues.apache.org/jira/browse/OOZIE-706
Project: Oozie
Issue Type: Bug
Reporter: Virag Kothari
Priority: Minor
Short term solution is to increase the wait time. But in general requires
refactoring test cases or use some framework (like TestLoadBalancer) to make
the tests run faster
(waitFor(10 * 1000, new Predicate() {
public boolean evaluate() throws Exception {
BundleJobBean job1 = jpaService.execute(new
BundleJobGetJPAExecutor(jobId));
return job1.getStatus() == Job.Status.PREPPAUSED;
}
});
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira