fixed hunspell test to clean up properly
This commit is contained in:
parent
7cf80aca99
commit
86f55b3a45
|
@ -29,6 +29,7 @@ import org.elasticsearch.node.Node;
|
||||||
import org.elasticsearch.node.internal.InternalNode;
|
import org.elasticsearch.node.internal.InternalNode;
|
||||||
import org.elasticsearch.test.integration.AbstractNodesTests;
|
import org.elasticsearch.test.integration.AbstractNodesTests;
|
||||||
import org.testng.annotations.AfterClass;
|
import org.testng.annotations.AfterClass;
|
||||||
|
import org.testng.annotations.AfterTest;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
import static org.hamcrest.MatcherAssert.assertThat;
|
import static org.hamcrest.MatcherAssert.assertThat;
|
||||||
|
@ -41,7 +42,7 @@ import static org.hamcrest.Matchers.notNullValue;
|
||||||
public class HunspellServiceTests extends AbstractNodesTests {
|
public class HunspellServiceTests extends AbstractNodesTests {
|
||||||
|
|
||||||
|
|
||||||
@AfterClass
|
@AfterTest
|
||||||
public void closeNodes() {
|
public void closeNodes() {
|
||||||
closeAllNodes();
|
closeAllNodes();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue