HBASE-10700 IntegrationTestWithCellVisibilityLoadAndVerify should allow current user to be the admin
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1575486 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f5965ee660
commit
11a089dc40
|
@ -113,9 +113,10 @@ public class IntegrationTestWithCellVisibilityLoadAndVerify extends IntegrationT
|
|||
conf.setInt(HFile.FORMAT_VERSION_KEY, 3);
|
||||
conf.set("hbase.coprocessor.master.classes", VisibilityController.class.getName());
|
||||
conf.set("hbase.coprocessor.region.classes", VisibilityController.class.getName());
|
||||
conf.set("hbase.superuser", "admin," + User.getCurrent().getName());
|
||||
String adminName = User.getCurrent().getName();
|
||||
conf.set("hbase.superuser", adminName);
|
||||
super.setUpCluster();
|
||||
ADMIN = User.createUserForTesting(conf, "admin", new String[] { "supergroup" });
|
||||
ADMIN = User.createUserForTesting(conf, adminName, new String[] { "supergroup" });
|
||||
NORMAL_USER = User.createUserForTesting(conf, "user1", new String[] {});
|
||||
addLabelsAndAuths();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue