From 8704693888442f869eea29a528f3e000aacc0e21 Mon Sep 17 00:00:00 2001 From: jaymode Date: Wed, 11 Mar 2015 07:48:00 -0700 Subject: [PATCH] Test: switch to using OpenLDAP url for connect timeout After the switch from elasticsearch.com to elastic.co, these tests started failing due to socket connect errors. Now we will just connect to the OpenLDAP server which should be a different machines than the ones running tests. Original commit: elastic/x-pack-elasticsearch@7bf713a313e330ccfde93caa0534aa12a02989e1 --- .../shield/authc/ldap/LdapSessionFactoryTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/shield/authc/ldap/LdapSessionFactoryTests.java b/src/test/java/org/elasticsearch/shield/authc/ldap/LdapSessionFactoryTests.java index e748bd58469..fc266531149 100644 --- a/src/test/java/org/elasticsearch/shield/authc/ldap/LdapSessionFactoryTests.java +++ b/src/test/java/org/elasticsearch/shield/authc/ldap/LdapSessionFactoryTests.java @@ -57,7 +57,7 @@ public class LdapSessionFactoryTests extends LdapTest { @Network public void testConnectTimeout() { // Local sockets connect too fast... - String ldapUrl = "ldap://elasticsearch.com:389"; + String ldapUrl = "ldap://54.200.235.244:389"; String groupSearchBase = "o=sevenSeas"; String[] userTemplates = new String[] { "cn={0},ou=people,o=sevenSeas",