From bcd5d06e3c1aeca6090d4f26b204e8085cfd8e48 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Wed, 19 Jun 2019 09:38:03 -0500 Subject: [PATCH] Fix ITs --- .../cluster/AppNodesClusterHostsConsistencyTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/sonar-main/src/test/java/org/sonar/application/cluster/AppNodesClusterHostsConsistencyTest.java b/server/sonar-main/src/test/java/org/sonar/application/cluster/AppNodesClusterHostsConsistencyTest.java index 19fc8bbc43e..ad86c41ffd2 100644 --- a/server/sonar-main/src/test/java/org/sonar/application/cluster/AppNodesClusterHostsConsistencyTest.java +++ b/server/sonar-main/src/test/java/org/sonar/application/cluster/AppNodesClusterHostsConsistencyTest.java @@ -34,6 +34,7 @@ import java.util.Map; import java.util.Set; import java.util.concurrent.locks.Lock; import java.util.function.Consumer; +import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; @@ -59,6 +60,7 @@ public class AppNodesClusterHostsConsistencyTest { private Consumer logger = mock(Consumer.class); @Before + @After public void setUp() { AppNodesClusterHostsConsistency.clearInstance(); } -- 2.39.5