diff options
author | Eric Hartmann <hartmann.eric@gmail.com> | 2017-09-01 15:22:58 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-09-05 14:24:13 +0200 |
commit | ac2ea1796c61120f34697161f0545f03aded41ea (patch) | |
tree | 2a670ac7f037bfb0a7b5bfe30547a4a9340a2b96 /server/sonar-main/src | |
parent | 6aa52b1c97f10271f537f25c0014ea52edcab3f4 (diff) | |
download | sonarqube-ac2ea1796c61120f34697161f0545f03aded41ea.tar.gz sonarqube-ac2ea1796c61120f34697161f0545f03aded41ea.zip |
Make HazelcastClusterTest more robust.
Diffstat (limited to 'server/sonar-main/src')
-rw-r--r-- | server/sonar-main/src/test/java/org/sonar/application/cluster/HazelcastClusterTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-main/src/test/java/org/sonar/application/cluster/HazelcastClusterTest.java b/server/sonar-main/src/test/java/org/sonar/application/cluster/HazelcastClusterTest.java index d07cbcb93d4..81d5a818191 100644 --- a/server/sonar-main/src/test/java/org/sonar/application/cluster/HazelcastClusterTest.java +++ b/server/sonar-main/src/test/java/org/sonar/application/cluster/HazelcastClusterTest.java @@ -33,7 +33,7 @@ import java.util.List; import java.util.UUID; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; -import org.junit.AfterClass; +import org.junit.After; import org.junit.Rule; import org.junit.Test; import org.junit.rules.DisableOnDebug; @@ -70,8 +70,8 @@ public class HazelcastClusterTest { @Rule public ExpectedException expectedException = ExpectedException.none(); - @AfterClass - public static void closeHazelcastClients() { + @After + public void closeHazelcastClients() { closeAllHazelcastClients(); } |