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);