mirror of
https://github.com/Graylog2/graylog2-server.git
synced 2026-03-13 09:32:21 +08:00
close networks and containers in tests (#16375)
This commit is contained in:
@@ -30,6 +30,7 @@ import org.graylog.datanode.testinfra.DatanodeContainerizedBackend;
|
||||
import org.graylog2.plugin.Tools;
|
||||
import org.graylog2.shared.utilities.StringUtils;
|
||||
import org.hamcrest.Matchers;
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.io.TempDir;
|
||||
@@ -106,6 +107,11 @@ public class DatanodeSecuritySetupIT {
|
||||
}).start();
|
||||
}
|
||||
|
||||
@AfterEach
|
||||
void tearDown() {
|
||||
backend.stop();
|
||||
}
|
||||
|
||||
@Test
|
||||
void testSecuredSetup() throws ExecutionException, RetryException {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user