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



common/src/main/java/org/apache/falcon/entity/store/ConfigurationStore.java 
(line 354)
<https://reviews.apache.org/r/39229/#comment160068>

    The method resets only the entities in memory. If it is backed by a file 
system as it usually is, it will cause inconsistency.
    
    Prefer that you have a utility method in the Test like we have in 
AbstractTestBase, that actually removes entities from the store.



oozie/src/main/java/org/apache/oozie/client/LocalProxyOozieClient.java (line 64)
<https://reviews.apache.org/r/39229/#comment160069>

    Good abstraction. Can you also check if this method can be used by other 
methods that were previously defined?



unit/src/test/java/org/apache/falcon/unit/FalconUnitTestBase.java (line 125)
<https://reviews.apache.org/r/39229/#comment160070>

    As mentioned above, have a method to remove entities.



unit/src/test/java/org/apache/falcon/unit/FalconUnitTestBase.java (line 166)
<https://reviews.apache.org/r/39229/#comment160071>

    Do we really need these methods, which do nothing but wrap the 
FalconUnitClient? The testcases might as well use the FalconUnitClient.


- Pallavi Rao


On Oct. 13, 2015, 9:15 a.m., Narayan Periwal wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39229/
> -----------------------------------------------------------
> 
> (Updated Oct. 13, 2015, 9:15 a.m.)
> 
> 
> Review request for Falcon.
> 
> 
> Bugs: FALCON-1519
>     https://issues.apache.org/jira/browse/FALCON-1519
> 
> 
> Repository: falcon-git
> 
> 
> Description
> -------
> 
> Suspend and Resume Functionalities should be supported in Falcon unit.
> 
> 
> Diffs
> -----
> 
>   client/src/main/java/org/apache/falcon/client/AbstractFalconClient.java 
> 2358289 
>   common/src/main/java/org/apache/falcon/entity/store/ConfigurationStore.java 
> e27187b 
>   oozie/src/main/java/org/apache/oozie/client/LocalProxyOozieClient.java 
> 217cec9 
>   unit/src/main/java/org/apache/falcon/unit/FalconUnitClient.java 3ce261e 
>   
> unit/src/main/java/org/apache/falcon/unit/LocalSchedulableEntityManager.java 
> d793cf2 
>   unit/src/test/java/org/apache/falcon/unit/FalconUnitTestBase.java 45b88f0 
>   unit/src/test/java/org/apache/falcon/unit/TestFalconUnit.java d2e574b 
>   unit/src/test/resources/process1.xml PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/39229/diff/
> 
> 
> Testing
> -------
> 
> Done.
> 
> 
> Thanks,
> 
> Narayan Periwal
> 
>

Reply via email to