Преглед изворни кода

cleanup second static cluster in test
hopefully this will remove the testing infra from failing on hanging to memory

Shay Banon пре 11 година
родитељ
комит
680a4ebbea
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/test/java/org/elasticsearch/tribe/TribeTests.java

+ 1 - 0
src/test/java/org/elasticsearch/tribe/TribeTests.java

@@ -69,6 +69,7 @@ public class TribeTests extends ElasticsearchIntegrationTest {
         if (cluster2 != null) {
             cluster2.afterTest();
             cluster2.close();
+            cluster2 = null;
         }
     }