diff options
-rw-r--r-- | server/sonar-server/src/test/java/org/sonar/server/es/EsServerHolder.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-server/src/test/java/org/sonar/server/es/EsServerHolder.java b/server/sonar-server/src/test/java/org/sonar/server/es/EsServerHolder.java index f2102c861d4..28810012ff5 100644 --- a/server/sonar-server/src/test/java/org/sonar/server/es/EsServerHolder.java +++ b/server/sonar-server/src/test/java/org/sonar/server/es/EsServerHolder.java @@ -81,6 +81,7 @@ public class EsServerHolder { if (!response.isAcknowledged()) { throw new IllegalStateException("Fail to delete all indices"); } + client.close(); } public static synchronized EsServerHolder get() { |