falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pallavi Rao" <pallavi....@inmobi.com>
Subject Re: Review Request 39810: FALCON-1552: Migration of ProcessInstanceManagerIT to use falcon unit
Date Wed, 04 Nov 2015 07:10:28 GMT

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



webapp/pom.xml (line 92)
<https://reviews.apache.org/r/39810/#comment163402>

    Should only be a test dependency.



webapp/src/test/java/org/apache/falcon/resource/ProcessInstanceManagerIT.java (line 22)
<https://reviews.apache.org/r/39810/#comment163403>

    You should be using hadoop.FileSystem. If you use JailedFileSystem directly, we won't
be able to run the test in "cluster" mode.



webapp/src/test/java/org/apache/falcon/resource/ProcessInstanceManagerIT.java (line 51)
<https://reviews.apache.org/r/39810/#comment163405>

    As mentioned before, don't use implementations. Use interfaces instead, so you we can
run these tests in cluster mode sometime in the future.



webapp/src/test/java/org/apache/falcon/resource/ProcessInstanceManagerIT.java (line 201)
<https://reviews.apache.org/r/39810/#comment163409>

    This test should schedule more than 1 instance, else what is point in testing pagination.



webapp/src/test/java/org/apache/falcon/resource/UnitTestContext.java (line 28)
<https://reviews.apache.org/r/39810/#comment163410>

    Use interface, please.


- Pallavi Rao


On Oct. 30, 2015, 9:17 a.m., Narayan Periwal wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39810/
> -----------------------------------------------------------
> 
> (Updated Oct. 30, 2015, 9:17 a.m.)
> 
> 
> Review request for Falcon.
> 
> 
> Bugs: falcon-1552
>     https://issues.apache.org/jira/browse/falcon-1552
> 
> 
> Repository: falcon-git
> 
> 
> Description
> -------
> 
> As Integration tests are flaky, we have a plan of migrating some integration tests using
falcon unit. As part of this, we migrate ProcessInstanceManagerIT using falcon unit in this
jira
> 
> 
> Diffs
> -----
> 
>   webapp/pom.xml 0999c36 
>   webapp/src/test/java/org/apache/falcon/examples/JavaSleepExample.java PRE-CREATION

>   webapp/src/test/java/org/apache/falcon/resource/ProcessInstanceManagerIT.java ffc203e

>   webapp/src/test/java/org/apache/falcon/resource/UnitTestContext.java PRE-CREATION 
>   webapp/src/test/resources/local-cluster-template.xml PRE-CREATION 
>   webapp/src/test/resources/sleepWorkflow.xml PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/39810/diff/
> 
> 
> Testing
> -------
> 
> Done.
> 
> 
> Thanks,
> 
> Narayan Periwal
> 
>


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