Fix test compilation failures

Original commit: elastic/x-pack-elasticsearch@5d166a63fa
This commit is contained in:
Simon Willnauer 2016-02-01 10:54:18 +01:00
parent 9c0ae6411c
commit 2698441770

View File

@ -35,6 +35,7 @@ import org.elasticsearch.watcher.WatcherPlugin;
import org.elasticsearch.xpack.XPackPlugin;
import org.junit.Before;
import java.io.IOException;
import java.nio.file.Path;
import java.text.MessageFormat;
import java.util.Collections;
@ -495,7 +496,7 @@ public class LdapUserSearchSessionFactoryTests extends LdapTestCase {
}
@Network
public void testThatLDAPServerConnectErrorDoesNotPreventNodeFromStarting() {
public void testThatLDAPServerConnectErrorDoesNotPreventNodeFromStarting() throws IOException {
String groupSearchBase = "DC=ad,DC=test,DC=elasticsearch,DC=com";
String userSearchBase = "CN=Users,DC=ad,DC=test,DC=elasticsearch,DC=com";
Settings ldapSettings = settingsBuilder()