You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Dénes Bodó (Jira)" <ji...@apache.org> on 2021/06/22 14:00:11 UTC

[jira] [Updated] (OOZIE-706) TestPauseTransitService sometime fails due to timing issue

     [ 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)