Skip to content

Commit e98f9b9

Browse files
saintstackthangTang
authored andcommitted
HBASE-23971 protoc warns: "no protobuf syntax specified" (apache#1278)
Remove overcommit in TestUsersOperationsWithSecureHadoop (Noticed by ndimiduk)
1 parent 8de948d commit e98f9b9

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

hbase-server/src/test/java/org/apache/hadoop/hbase/security/TestUsersOperationsWithSecureHadoop.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929

3030
import java.io.File;
3131
import java.io.IOException;
32-
import java.util.concurrent.TimeUnit;
3332

3433
import org.apache.hadoop.conf.Configuration;
3534
import org.apache.hadoop.hbase.AuthUtil;
@@ -65,11 +64,7 @@ public class TestUsersOperationsWithSecureHadoop {
6564
private static String CLIENT_NAME;
6665

6766
@BeforeClass
68-
public static void destroyAndSetup() throws Exception {
69-
//destroy localhost kerberos users
70-
Process process = Runtime.getRuntime().exec(new String[]{"bash", "-c", "kdestroy"});
71-
process.waitFor(2, TimeUnit.SECONDS);
72-
// setup mini kdc
67+
public static void setUp() throws Exception {
7368
KDC = TEST_UTIL.setupMiniKdc(KEYTAB_FILE);
7469
PRINCIPAL = "hbase/" + HOST;
7570
CLIENT_NAME = "foo";

0 commit comments

Comments
 (0)