From 86f55b3a45c24e263d2fcf0987a44216f5a19e02 Mon Sep 17 00:00:00 2001 From: uboness Date: Thu, 3 Jan 2013 22:12:36 +0100 Subject: [PATCH] fixed hunspell test to clean up properly --- .../test/integration/indices/analyze/HunspellServiceTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/test/integration/indices/analyze/HunspellServiceTests.java b/src/test/java/org/elasticsearch/test/integration/indices/analyze/HunspellServiceTests.java index fe960c9d901..9e247f87713 100644 --- a/src/test/java/org/elasticsearch/test/integration/indices/analyze/HunspellServiceTests.java +++ b/src/test/java/org/elasticsearch/test/integration/indices/analyze/HunspellServiceTests.java @@ -29,6 +29,7 @@ import org.elasticsearch.node.Node; import org.elasticsearch.node.internal.InternalNode; import org.elasticsearch.test.integration.AbstractNodesTests; import org.testng.annotations.AfterClass; +import org.testng.annotations.AfterTest; import org.testng.annotations.Test; import static org.hamcrest.MatcherAssert.assertThat; @@ -41,7 +42,7 @@ import static org.hamcrest.Matchers.notNullValue; public class HunspellServiceTests extends AbstractNodesTests { - @AfterClass + @AfterTest public void closeNodes() { closeAllNodes(); }