[
https://issues.apache.org/jira/browse/PHOENIX-6555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Istvan Toth resolved PHOENIX-6555.
----------------------------------
Fix Version/s: 5.1.3
5.2.0
Resolution: Fixed
Committed to master an 5.1.
Thanks for the review [~vjasani]
> Wait for permissions to sync in Permission tests
> ------------------------------------------------
>
> Key: PHOENIX-6555
> URL: https://issues.apache.org/jira/browse/PHOENIX-6555
> Project: Phoenix
> Issue Type: Bug
> Components: core
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
> Fix For: 5.2.0, 5.1.3
>
>
> We should do something better than adding retries whenever see another
> failure.
> From [[email protected]] on a mailing list thread:
> {quote}In the HBase security unit tests we wait for the zk mediated cache
> reload to complete before continuing the test. If you don’t do that your test
> will be flaky. Check that you are doing this. {quote}
> {noformat}
> java.lang.reflect.UndeclaredThrowableException
> at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1747)
> at
> org.apache.hadoop.hbase.security.User$SecureHadoopUser.runAs(User.java:347)
> at
> org.apache.phoenix.end2end.BasePermissionsIT.verifyAllowed(BasePermissionsIT.java:787)
> at
> org.apache.phoenix.end2end.BasePermissionsIT.verifyAllowed(BasePermissionsIT.java:780)
> at
> org.apache.phoenix.end2end.BasePermissionsIT.lambda$testAutomaticGrantWithIndexAndView$5(BasePermissionsIT.java:1412)
> at
> org.apache.phoenix.end2end.BasePermissionsIT.retryVerifyOperation(BasePermissionsIT.java:1035)
> at
> org.apache.phoenix.end2end.BasePermissionsIT.testAutomaticGrantWithIndexAndView(BasePermissionsIT.java:1411)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)