test: mute ldap timeout tests

See elastic/elasticsearch#2849

Original commit: elastic/x-pack-elasticsearch@318307073e
This commit is contained in:
jaymode 2016-07-18 11:20:52 -04:00
parent 12c709ea3a
commit 67f473a992
3 changed files with 2 additions and 3 deletions

View File

@ -14,9 +14,7 @@ import org.elasticsearch.xpack.security.authc.ldap.support.LdapSession.GroupsRes
import org.elasticsearch.xpack.security.authc.ldap.support.SessionFactory;
import org.elasticsearch.xpack.security.authc.support.SecuredString;
import org.elasticsearch.xpack.security.ssl.ClientSSLService;
import org.elasticsearch.xpack.security.support.Exceptions;
import java.io.IOException;
import java.text.MessageFormat;
import java.util.Locale;

View File

@ -19,7 +19,6 @@ import org.elasticsearch.xpack.security.authc.support.SecuredStringTests;
import org.elasticsearch.test.junit.annotations.Network;
import org.junit.Before;
import java.io.IOException;
import java.util.List;
import static org.hamcrest.Matchers.anyOf;
@ -66,6 +65,7 @@ public class LdapSessionFactoryTests extends LdapTestCase {
}
@Network
@AwaitsFix(bugUrl = "https://github.com/elastic/x-plugins/issues/2849")
public void testConnectTimeout() {
// Local sockets connect too fast...
String ldapUrl = "ldap://54.200.235.244:389";

View File

@ -142,6 +142,7 @@ public class OpenLdapTests extends ESTestCase {
}
}
@AwaitsFix(bugUrl = "https://github.com/elastic/x-plugins/issues/2849")
public void testTcpTimeout() throws Exception {
String groupSearchBase = "ou=people,dc=oldap,dc=test,dc=elasticsearch,dc=com";
String userTemplate = "uid={0},ou=people,dc=oldap,dc=test,dc=elasticsearch,dc=com";