mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-14 08:55:19 +00:00
Fix test compilation failures
Original commit: elastic/x-pack-elasticsearch@303df9b9dd
This commit is contained in:
parent
d27b9b4b41
commit
9c0ae6411c
@ -23,6 +23,7 @@ import org.elasticsearch.transport.Transport;
|
||||
import org.elasticsearch.xpack.XPackPlugin;
|
||||
import org.junit.BeforeClass;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.InetSocketAddress;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
@ -77,7 +78,7 @@ public class ServerTransportFilterIntegrationTests extends ShieldIntegTestCase {
|
||||
.build();
|
||||
}
|
||||
|
||||
public void testThatConnectionToServerTypeConnectionWorks() {
|
||||
public void testThatConnectionToServerTypeConnectionWorks() throws IOException {
|
||||
Settings dataNodeSettings = internalCluster().getDataNodeInstance(Settings.class);
|
||||
String systemKeyFile = dataNodeSettings.get(InternalCryptoService.FILE_SETTING);
|
||||
|
||||
@ -109,7 +110,7 @@ public class ServerTransportFilterIntegrationTests extends ShieldIntegTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
public void testThatConnectionToClientTypeConnectionIsRejected() {
|
||||
public void testThatConnectionToClientTypeConnectionIsRejected() throws IOException {
|
||||
Settings dataNodeSettings = internalCluster().getDataNodeInstance(Settings.class);
|
||||
String systemKeyFile = dataNodeSettings.get(InternalCryptoService.FILE_SETTING);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user