]> source.dussan.org Git - sonarqube.git/commitdiff
Fix ITs
authorDuarte Meneses <duarte.meneses@sonarsource.com>
Wed, 19 Jun 2019 14:38:03 +0000 (09:38 -0500)
committersonartech <sonartech@sonarsource.com>
Fri, 28 Jun 2019 06:45:40 +0000 (08:45 +0200)
server/sonar-main/src/test/java/org/sonar/application/cluster/AppNodesClusterHostsConsistencyTest.java

index 19fc8bbc43efa52b6bec316ba31c5f17c23c9366..ad86c41ffd21cdb6014e3731defa1cd7261f1364 100644 (file)
@@ -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<String> logger = mock(Consumer.class);
 
   @Before
+  @After
   public void setUp() {
     AppNodesClusterHostsConsistency.clearInstance();
   }