fixed hunspell test to clean up properly

This commit is contained in:
uboness 2013-01-03 22:12:36 +01:00
parent 7cf80aca99
commit 86f55b3a45
1 changed files with 2 additions and 1 deletions

View File

@ -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();
}