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


Ship it!




Ship It!

- Jonathan Hurley


On Sept. 28, 2016, 9:42 a.m., Robert Levas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/52346/
> -----------------------------------------------------------
> 
> (Updated Sept. 28, 2016, 9:42 a.m.)
> 
> 
> Review request for Ambari, Jonathan Hurley, Nahappan Somasundaram, and 
> Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-18481
>     https://issues.apache.org/jira/browse/AMBARI-18481
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Intermittently the following exception is thrown when running unit tests for 
> ConfigGroupResourceProviderTest:
> 
> ```
> org.apache.ambari.server.security.authorization.AuthorizationException: 
> Authentication data is not available, authorization to perform the requested 
> operation is not granted
> ??at 
> org.apache.ambari.server.controller.internal.ConfigGroupResourceProviderTest.testGetConfigGroup(ConfigGroupResourceProviderTest.java:695)
> ??at 
> org.apache.ambari.server.controller.internal.ConfigGroupResourceProviderTest.testGetConfigGroupAsClusterAdministrator(ConfigGroupResourceProviderTest.java:580)
> ```
> 
> This is due to the order in which the test cases are executed and when the 
> authentication context is set.
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ConfigGroupResourceProviderTest.java
>  4dec990 
> 
> Diff: https://reviews.apache.org/r/52346/diff/
> 
> 
> Testing
> -------
> 
> Ran unit test:
> 
> ```
> Running 
> org.apache.ambari.server.controller.internal.ConfigGroupResourceProviderTest
> Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.478 sec - 
> in 
> org.apache.ambari.server.controller.internal.ConfigGroupResourceProviderTest
> 
> Results :
> 
> Tests run: 32, Failures: 0, Errors: 0, Skipped: 0
> ```
> 
> 
> Thanks,
> 
> Robert Levas
> 
>

Reply via email to