james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [28/41] james-project git commit: JAMES-2082 Fix unstable test
Date Mon, 10 Jul 2017 17:54:40 GMT
JAMES-2082 Fix unstable test


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/67ae8df1
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/67ae8df1
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/67ae8df1

Branch: refs/heads/master
Commit: 67ae8df1921dda13f479f27e1dac84ac60caf601
Parents: 890d0c0
Author: benwa <btellier@linagora.com>
Authored: Fri Jul 7 17:10:55 2017 +0700
Committer: Antoine Duprat <aduprat@linagora.com>
Committed: Mon Jul 10 14:23:58 2017 +0200

----------------------------------------------------------------------
 .../java/org/apache/james/user/ldap/LdapGenericContainer.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/67ae8df1/server/data/data-ldap-integration-testing/src/test/java/org/apache/james/user/ldap/LdapGenericContainer.java
----------------------------------------------------------------------
diff --git a/server/data/data-ldap-integration-testing/src/test/java/org/apache/james/user/ldap/LdapGenericContainer.java
b/server/data/data-ldap-integration-testing/src/test/java/org/apache/james/user/ldap/LdapGenericContainer.java
index 811289e..fed1361 100644
--- a/server/data/data-ldap-integration-testing/src/test/java/org/apache/james/user/ldap/LdapGenericContainer.java
+++ b/server/data/data-ldap-integration-testing/src/test/java/org/apache/james/user/ldap/LdapGenericContainer.java
@@ -65,7 +65,8 @@ public class LdapGenericContainer extends ExternalResource {
                 .withAffinityToContainer()
                 .withEnv("SLAPD_DOMAIN", domain)
                 .withEnv("SLAPD_PASSWORD", password)
-                .withEnv("SLAPD_CONFIG_PASSWORD", password);
+                .withEnv("SLAPD_CONFIG_PASSWORD", password)
+                .withExposedPorts(LdapGenericContainer.DEFAULT_LDAP_PORT);
         }
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message