fixed hunspell test to clean up properly, this time, for realz

This commit is contained in:
uboness 2013-01-03 22:54:37 +01:00
parent 86f55b3a45
commit dc25939b7c
1 changed files with 2 additions and 3 deletions

View File

@ -28,8 +28,7 @@ import org.elasticsearch.indices.analysis.HunspellService;
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.AfterMethod;
import org.testng.annotations.Test;
import static org.hamcrest.MatcherAssert.assertThat;
@ -42,7 +41,7 @@ import static org.hamcrest.Matchers.notNullValue;
public class HunspellServiceTests extends AbstractNodesTests {
@AfterTest
@AfterMethod
public void closeNodes() {
closeAllNodes();
}