mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
fixed hunspell test to clean up properly, this time, for realz
This commit is contained in:
parent
86f55b3a45
commit
dc25939b7c
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user