[ 
https://issues.apache.org/jira/browse/RANGER-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Selvamohan Neethiraj updated RANGER-922:
----------------------------------------
    Attachment: 0001-RANGER-922-added-try-catch-log-to-identify-unit-test.patch

Patch attached

> Adding debug statement to identify build issue in build.apache.org
> ------------------------------------------------------------------
>
>                 Key: RANGER-922
>                 URL: https://issues.apache.org/jira/browse/RANGER-922
>             Project: Ranger
>          Issue Type: Improvement
>          Components: usersync
>            Reporter: Selvamohan Neethiraj
>            Assignee: Selvamohan Neethiraj
>             Fix For: 0.6.0
>
>         Attachments: 
> 0001-RANGER-922-added-try-catch-log-to-identify-unit-test.patch
>
>
> Here is the failure found in Unit Test for Ranger:
> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.158 sec <<< 
> FAILURE! - in org.apache.ranger.unixusersync.process.UnixUserGroupBuilderTest
> testBuilderExtraGroups(org.apache.ranger.unixusersync.process.UnixUserGroupBuilderTest)
>   Time elapsed: 0.111 sec  <<< ERROR!
> java.lang.ArrayIndexOutOfBoundsException: 3
>       at 
> org.apache.ranger.unixusersync.process.UnixUserGroupBuilder.buildUnixUserList(UnixUserGroupBuilder.java:212)
>       at 
> org.apache.ranger.unixusersync.process.UnixUserGroupBuilder.buildUserGroupInfo(UnixUserGroupBuilder.java:156)
>       at 
> org.apache.ranger.unixusersync.process.UnixUserGroupBuilder.init(UnixUserGroupBuilder.java:109)
>       at 
> org.apache.ranger.unixusersync.process.UnixUserGroupBuilderTest.testBuilderExtraGroups(UnixUserGroupBuilderTest.java:83)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to