falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghav Gautam" <rag...@apache.org>
Subject Review Request 26387: PrismFeedSnSTest assumes synchronous oozie operation
Date Mon, 06 Oct 2014 21:56:02 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26387/
-----------------------------------------------------------

Review request for Falcon.


Bugs: falcon-780
    https://issues.apache.org/jira/browse/falcon-780


Repository: falcon-git


Description
-------

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.


Diffs
-----

  falcon-regression/merlin/src/test/java/org/apache/falcon/regression/prism/PrismFeedSnSTest.java
4784dec 

Diff: https://reviews.apache.org/r/26387/diff/


Testing
-------

All the tests that are tagged embedded in the file were run and they passed.


Thanks,

Raghav Gautam


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message