HDDS-1536. testSCMSafeModeRestrictedOp is failing consistently. Contributed by Xiaoyu Yao. (#865)
This commit is contained in:
parent
d8b18e82f0
commit
fb0b39f4bf
|
@ -223,6 +223,7 @@ public class TestScmSafeMode {
|
|||
assertTrue(cluster.getStorageContainerManager().isInSafeMode());
|
||||
cluster.startHddsDatanodes();
|
||||
cluster.waitForClusterToBeReady();
|
||||
cluster.waitTobeOutOfSafeMode();
|
||||
assertFalse(cluster.getStorageContainerManager().isInSafeMode());
|
||||
|
||||
// Test2: Test safe mode when containers are there in system.
|
||||
|
@ -301,6 +302,7 @@ public class TestScmSafeMode {
|
|||
|
||||
cluster.startHddsDatanodes();
|
||||
cluster.waitForClusterToBeReady();
|
||||
cluster.waitTobeOutOfSafeMode();
|
||||
assertFalse(scm.isInSafeMode());
|
||||
|
||||
TestStorageContainerManagerHelper helper =
|
||||
|
|
Loading…
Reference in New Issue