> On April 6, 2016, 3:08 a.m., Jerry Chen wrote:
> > sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestPolicyImportExport.java,
> >  line 162
> > <https://reviews.apache.org/r/45732/diff/3/?file=1327262#file1327262line162>
> >
> >     How about the tests for cases like:
> >     1. db=db1->table=table1
> >     2. table=table1  (should be exception for case like this?)
> >     3. What the desired behavior for cases such as empty string? I think 
> > the bahavior should be the same as null. but test it to make sure.

All these test cases are included in TestSentryServiceImportExport which is 
included in SENTRY-1178. Do you think such cases should be added here also?
The test case here is to test the SentryPolicyFileFormatter and 
SentryConfigTool.exportPolicy work.


- Colin


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


On April 6, 2016, 2:52 a.m., Colin Ma wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45732/
> -----------------------------------------------------------
> 
> (Updated April 6, 2016, 2:52 a.m.)
> 
> 
> Review request for sentry.
> 
> 
> Repository: sentry
> 
> 
> Description
> -------
> 
> Update Sentry config tool for export with specific auth object
> 
> 
> Diffs
> -----
> 
>   
> sentry-binding/sentry-binding-hive-common/src/main/java/org/apache/sentry/binding/hive/authz/SentryConfigTool.java
>  73b0941 
>   
> sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/TestPolicyImportExport.java
>  c72aea3 
> 
> Diff: https://reviews.apache.org/r/45732/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Colin Ma
> 
>

Reply via email to