Description
We should do something better than adding retries whenever see another failure.
From andrew.purtell@gmail.com on a mailing list thread:
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.
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)
Attachments
Issue Links
- relates to
-
PHOENIX-7077 Fix flaky PermissionNSEnabledWithCustomAccessControllerIT.testSystemTablePermissions test
- Open
- links to