[
https://issues.apache.org/jira/browse/OOZIE-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dénes Bodó updated OOZIE-706:
-----------------------------
Summary: TestPauseTransitService sometime fails due to timing issue (was:
TestPauseTransitService sometime failes due to timing issue)
> TestPauseTransitService sometime fails 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 was sent by Atlassian Jira
(v8.3.4#803005)