Cleanup static instance in @AfterClass
This commit is contained in:
parent
b9f4b32892
commit
e1e9b23db8
|
@ -54,6 +54,7 @@ public class JdbcHttpClientRequestTests extends ESTestCase {
|
|||
@AfterClass
|
||||
public static void cleanup() {
|
||||
webServer.close();
|
||||
webServer = null;
|
||||
}
|
||||
|
||||
public void testBinaryRequestEnabled() throws Exception {
|
||||
|
|
|
@ -60,6 +60,7 @@ public class HttpClientRequestTests extends ESTestCase {
|
|||
@AfterClass
|
||||
public static void cleanup() {
|
||||
webServer.close();
|
||||
webServer = null;
|
||||
}
|
||||
|
||||
public void testBinaryRequestForCLIEnabled() throws URISyntaxException {
|
||||
|
|
Loading…
Reference in New Issue