HDDS-254. Fix TestStorageContainerManager#testBlockDeletingThrottling. Contributed by Lokesh Jain
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5074ca93 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5074ca93 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5074ca93 Branch: refs/heads/HDFS-12943 Commit: 5074ca93afb4fbd1c367852ba55d1e89b38a2133 Parents: 0927bc4 Author: Bharat Viswanadham <bha...@apache.org> Authored: Sun Jul 15 10:47:20 2018 -0700 Committer: Bharat Viswanadham <bha...@apache.org> Committed: Sun Jul 15 10:47:20 2018 -0700 ---------------------------------------------------------------------- .../test/java/org/apache/hadoop/ozone/MiniOzoneClusterImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/5074ca93/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/MiniOzoneClusterImpl.java ---------------------------------------------------------------------- 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 b3137bf..3ef74b0 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 @@ public final class MiniOzoneClusterImpl implements MiniOzoneCluster { 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 { --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org