From 5074ca93afb4fbd1c367852ba55d1e89b38a2133 Mon Sep 17 00:00:00 2001 From: Bharat Viswanadham Date: Sun, 15 Jul 2018 10:47:20 -0700 Subject: [PATCH] HDDS-254. Fix TestStorageContainerManager#testBlockDeletingThrottling. Contributed by Lokesh Jain --- .../test/java/org/apache/hadoop/ozone/MiniOzoneClusterImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/MiniOzoneClusterImpl.java b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/MiniOzoneClusterImpl.java index b3137bf3f4..3ef74b0170 100644 --- a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/MiniOzoneClusterImpl.java +++ b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/MiniOzoneClusterImpl.java @@ -392,7 +392,7 @@ private void configureSCM() { private void configureSCMheartbeat() { if (hbInterval.isPresent()) { - conf.getTimeDuration(ScmConfigKeys.OZONE_SCM_HEARTBEAT_INTERVAL, + conf.setTimeDuration(ScmConfigKeys.OZONE_SCM_HEARTBEAT_INTERVAL, hbInterval.get(), TimeUnit.MILLISECONDS); } else {