You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by xy...@apache.org on 2019/05/28 21:02:45 UTC

[hadoop] branch trunk updated: HDDS-1536. testSCMSafeModeRestrictedOp is failing consistently. Contributed by Xiaoyu Yao. (#865)

This is an automated email from the ASF dual-hosted git repository.

xyao pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new fb0b39f  HDDS-1536. testSCMSafeModeRestrictedOp is failing consistently. Contributed by Xiaoyu Yao. (#865)
fb0b39f is described below

commit fb0b39f4bfa6d97ca758e617cb9566242813c1a3
Author: Xiaoyu Yao <xy...@apache.org>
AuthorDate: Tue May 28 14:02:36 2019 -0700

    HDDS-1536. testSCMSafeModeRestrictedOp is failing consistently. Contributed by Xiaoyu Yao. (#865)
---
 .../src/test/java/org/apache/hadoop/ozone/om/TestScmSafeMode.java       | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestScmSafeMode.java b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestScmSafeMode.java
index 59331c9..4b61187 100644
--- a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestScmSafeMode.java
+++ b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestScmSafeMode.java
@@ -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 =


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org