Fix test compilation failures

Original commit: elastic/x-pack-elasticsearch@303df9b9dd
This commit is contained in:
Simon Willnauer 2016-02-01 10:51:20 +01:00
parent d27b9b4b41
commit 9c0ae6411c
1 changed files with 3 additions and 2 deletions

View File

@ -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);