Raghav Kumar Gautam created FALCON-780:
------------------------------------------

             Summary: PrismFeedSnSTest assumes synchronous oozie operation
                 Key: FALCON-780
                 URL: https://issues.apache.org/jira/browse/FALCON-780
             Project: Falcon
          Issue Type: Bug
          Components: merlin
    Affects Versions: 0.6
            Reporter: Raghav Kumar Gautam
            Assignee: Raghav Kumar Gautam
             Fix For: 0.6


In the PrismFeedSnSTest the code assumes synchronous oozie operations:
{code}
        bundles[0].submitAndScheduleFeed();
        TimeUtil.sleepSeconds(TIMEOUT);
        AssertUtil.checkStatus(cluster1OC, EntityType.FEED, bundles[0], 
Job.Status.RUNNING);
        AssertUtil.checkNotStatus(cluster1OC, EntityType.PROCESS, bundles[1], 
Job.Status.RUNNING);
{code}

Since, oozie operations are asnchronous, we need to allow some delay between 
between operation and the time when its effects are visible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to