HBASE-23971 protoc warns: "no protobuf syntax specified" (#1278)

Remove overcommit in TestUsersOperationsWithSecureHadoop
(Noticed by ndimiduk)
This commit is contained in:
stack 2020-03-17 15:27:28 -07:00
parent 2e1485f505
commit 9804f73c66
1 changed files with 1 additions and 6 deletions

View File

@ -29,7 +29,6 @@ import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.AuthUtil;
@ -65,11 +64,7 @@ public class TestUsersOperationsWithSecureHadoop {
private static String CLIENT_NAME;
@BeforeClass
public static void destroyAndSetup() throws Exception {
//destroy localhost kerberos users
Process process = Runtime.getRuntime().exec(new String[]{"bash", "-c", "kdestroy"});
process.waitFor(2, TimeUnit.SECONDS);
// setup mini kdc
public static void setUp() throws Exception {
KDC = TEST_UTIL.setupMiniKdc(KEYTAB_FILE);
PRINCIPAL = "hbase/" + HOST;
CLIENT_NAME = "foo";