When testExceptionOnBackgroundRefreshHandled is run individually, it reliably fails. It seems like a fundamental bug in the test or groups caching.
A similar issue was dealt with in
HADOOP-13375. cheersyang, do you have any insight into this?
This test case was added in
- relates to
HADOOP-13375 o.a.h.security.TestGroupsCaching.testBackgroundRefreshCounters seems flaky
HADOOP-13263 Reload cached groups in background after expiry