HBASE-23971 protoc warns: "no protobuf syntax specified" (#1278)
Remove overcommit in TestUsersOperationsWithSecureHadoop (Noticed by ndimiduk)
This commit is contained in:
parent
2e1485f505
commit
9804f73c66
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue