From 98c9bc4aa0ef6358e1ea6ca2f18cec7ae24158dd Mon Sep 17 00:00:00 2001 From: Anu Engineer Date: Wed, 19 Sep 2018 12:57:44 -0700 Subject: [PATCH] HDDS-509. TestStorageContainerManager is flaky. Contributed by Xiaoyu Yao and Ajay Kumar. --- .../org/apache/hadoop/ozone/TestStorageContainerManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestStorageContainerManager.java b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestStorageContainerManager.java index 3d9a043ccf..94ab6c8a7e 100644 --- a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestStorageContainerManager.java +++ b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestStorageContainerManager.java @@ -588,11 +588,10 @@ public void testSCMChillModeRestrictedOp() throws Exception { helper.createKeys(10, 4096); SCMClientProtocolServer clientProtocolServer = cluster .getStorageContainerManager().getClientProtocolServer(); - + assertFalse((scm.getClientProtocolServer()).getChillModeStatus()); final List containers = scm.getScmContainerManager() .getStateManager().getAllContainers(); scm.getEventQueue().fireEvent(SCMEvents.CHILL_MODE_STATUS, true); - assertFalse((scm.getClientProtocolServer()).getChillModeStatus()); GenericTestUtils.waitFor(() -> { return clientProtocolServer.getChillModeStatus(); }, 50, 1000 * 5);