From b039f7591f7a9988ca283da0e15aec1ac858e24c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Elek?= Date: Thu, 13 Jun 2019 16:27:23 +0200 Subject: [PATCH] HDDS-1682. TestEventWatcher.testMetrics is flaky Closes #962. --- .../hdds/server/events/EventWatcher.java | 11 +++++----- .../hdds/server/events/TestEventWatcher.java | 22 ++++++++++++++----- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/server/events/EventWatcher.java b/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/server/events/EventWatcher.java index a118c3ed607..301c71e8775 100644 --- a/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/server/events/EventWatcher.java +++ b/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/server/events/EventWatcher.java @@ -143,14 +143,15 @@ public abstract class EventWatcher= 2); DefaultMetricsSystem.shutdown(); }