mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Fix test compilation failures
Original commit: elastic/x-pack-elasticsearch@5d166a63fa
This commit is contained in:
parent
9c0ae6411c
commit
2698441770
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user