HBASE-11615 TestZKLessAMOnCluster.testForceAssignWhileClosing failed on Jenkins
This commit is contained in:
parent
2af67c2986
commit
be816b18a4
|
@ -388,6 +388,8 @@ public class TestAssignmentManagerOnCluster {
|
|||
AssignmentManager am = master.getAssignmentManager();
|
||||
assertTrue(am.waitForAssignment(hri));
|
||||
|
||||
ServerName sn = am.getRegionStates().getRegionServerOfRegion(hri);
|
||||
TEST_UTIL.assertRegionOnServer(hri, sn, 6000);
|
||||
MyRegionObserver.preCloseEnabled.set(true);
|
||||
am.unassign(hri);
|
||||
RegionState state = am.getRegionStates().getRegionState(hri);
|
||||
|
|
Loading…
Reference in New Issue