directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [2/4] directory-kerby git commit: Fixing ldap tests following DS update
Date Thu, 28 Jan 2016 11:36:06 GMT
Fixing ldap tests following DS update


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/0111fccb
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/0111fccb
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/0111fccb

Branch: refs/heads/trunk
Commit: 0111fccb1e150b91b6a903cf85f25940fc471334
Parents: 57cb181
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Jan 28 11:17:05 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Jan 28 11:17:05 2016 +0000

----------------------------------------------------------------------
 .../kerb/identity/backend/DirectoryLdapIdentityBackendTest.java  | 2 +-
 .../kerberos/kerb/identity/backend/LdapIdentityBackendTest.java  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/0111fccb/kerby-backend/ldap-backend/src/test/java/org/apache/kerby/kerberos/kerb/identity/backend/DirectoryLdapIdentityBackendTest.java
----------------------------------------------------------------------
diff --git a/kerby-backend/ldap-backend/src/test/java/org/apache/kerby/kerberos/kerb/identity/backend/DirectoryLdapIdentityBackendTest.java
b/kerby-backend/ldap-backend/src/test/java/org/apache/kerby/kerberos/kerb/identity/backend/DirectoryLdapIdentityBackendTest.java
index e667db9..86960fe 100644
--- a/kerby-backend/ldap-backend/src/test/java/org/apache/kerby/kerberos/kerb/identity/backend/DirectoryLdapIdentityBackendTest.java
+++ b/kerby-backend/ldap-backend/src/test/java/org/apache/kerby/kerberos/kerb/identity/backend/DirectoryLdapIdentityBackendTest.java
@@ -43,7 +43,7 @@ import org.junit.runner.RunWith;
 @CreateLdapServer(
         transports =
                 {
-                        @CreateTransport(protocol = "LDAP")
+                        @CreateTransport(protocol = "LDAP", address = "127.0.0.1")
                 })
 @ApplyLdifs(
         {

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/0111fccb/kerby-backend/ldap-backend/src/test/java/org/apache/kerby/kerberos/kerb/identity/backend/LdapIdentityBackendTest.java
----------------------------------------------------------------------
diff --git a/kerby-backend/ldap-backend/src/test/java/org/apache/kerby/kerberos/kerb/identity/backend/LdapIdentityBackendTest.java
b/kerby-backend/ldap-backend/src/test/java/org/apache/kerby/kerberos/kerb/identity/backend/LdapIdentityBackendTest.java
index d19bd51..21551fd 100644
--- a/kerby-backend/ldap-backend/src/test/java/org/apache/kerby/kerberos/kerb/identity/backend/LdapIdentityBackendTest.java
+++ b/kerby-backend/ldap-backend/src/test/java/org/apache/kerby/kerberos/kerb/identity/backend/LdapIdentityBackendTest.java
@@ -41,7 +41,7 @@ import org.junit.runner.RunWith;
 @CreateLdapServer(
         transports =
                 {
-                        @CreateTransport(protocol = "LDAP")
+                        @CreateTransport(protocol = "LDAP", address = "127.0.0.1")
                 })
 @ApplyLdifs(
         {
@@ -63,7 +63,7 @@ public class LdapIdentityBackendTest extends AbstractLdapIdentityBackendTest
{
     @Before
     public void setUp() throws Exception {
         Conf config = new Conf();
-        config.setString("host", "localhost");
+        config.setString("host", "127.0.0.1");
         config.setInt("port", getLdapServer().getPort());
         config.setString("admin_dn", ADMIN_DN);
         config.setString("admin_pw", ADMIN_PW);


Mime
View raw message