falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghav Kumar Gautam (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FALCON-780) PrismFeedSnSTest assumes synchronous oozie operation
Date Mon, 06 Oct 2014 21:52:35 GMT
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)

Mime
View raw message