We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1dd865 commit e3e42dfCopy full SHA for e3e42df
hbase-common/src/main/java/org/apache/hadoop/hbase/security/User.java
@@ -351,8 +351,7 @@ public <T> T runAs(PrivilegedExceptionAction<T> action)
351
public static User createUserForTesting(Configuration conf,
352
String name, String[] groups) {
353
synchronized (UserProvider.class) {
354
- if (!(UserProvider.groups instanceof TestingGroups) ||
355
- conf.getBoolean(TestingGroups.TEST_CONF, false)) {
+ if (!(UserProvider.groups instanceof TestingGroups)) {
356
UserProvider.groups = new TestingGroups(UserProvider.groups);
357
}
358
0 commit comments