HBASE-12549 Fix TestAssignmentManagerOnCluster#testAssignRacingWithSSH() flaky test
This commit is contained in:
parent
cd08f8b2be
commit
a16b4e0fd5
|
@ -260,6 +260,12 @@ public class TestAssignmentManagerOnCluster {
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_UTIL.deleteTable(Bytes.toBytes(table));
|
TEST_UTIL.deleteTable(Bytes.toBytes(table));
|
||||||
|
|
||||||
|
// reset the value for other tests
|
||||||
|
TEST_UTIL.getMiniHBaseCluster().getConf().setInt("hbase.assignment.maximum.attempts", 3);
|
||||||
|
ServerName masterServerName = TEST_UTIL.getMiniHBaseCluster().getMaster().getServerName();
|
||||||
|
TEST_UTIL.getMiniHBaseCluster().stopMaster(masterServerName);
|
||||||
|
TEST_UTIL.getMiniHBaseCluster().startMaster();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue