directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject [directory-studio] branch master updated: Fixed the connection timeout which was way to small (30ms instead of 30 000ms)
Date Mon, 26 Mar 2018 22:42:35 GMT
This is an automated email from the ASF dual-hosted git repository.

elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-studio.git


The following commit(s) were added to refs/heads/master by this push:
     new ce2fd06  Fixed the connection timeout which was way to small (30ms instead of 30
000ms)
ce2fd06 is described below

commit ce2fd06e877a734a025b654095b251b8af1c5fb6
Author: Emmanuel L├ęcharny <elecharny@symas.com>
AuthorDate: Tue Mar 27 00:42:20 2018 +0200

    Fixed the connection timeout which was way to small
    (30ms instead of 30 000ms)
---
 .../studio/test/integration/core/ConnectionWrapperTestBase.java       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/test.integration.core/src/main/java/org/apache/directory/studio/test/integration/core/ConnectionWrapperTestBase.java
b/tests/test.integration.core/src/main/java/org/apache/directory/studio/test/integration/core/ConnectionWrapperTestBase.java
index 787f792..32d4f6d 100644
--- a/tests/test.integration.core/src/main/java/org/apache/directory/studio/test/integration/core/ConnectionWrapperTestBase.java
+++ b/tests/test.integration.core/src/main/java/org/apache/directory/studio/test/integration/core/ConnectionWrapperTestBase.java
@@ -689,7 +689,7 @@ public abstract class ConnectionWrapperTestBase extends AbstractLdapTestUnit
         // simple auth without principal and credential
         ConnectionParameter connectionParameter = new ConnectionParameter( null, LOCALHOST,
ldapServer.getPort(),
             EncryptionMethod.NONE, provider, AuthenticationMethod.SIMPLE, "uid=admin,ou=system",
"secret", null, false,
-            null, 30L );
+            null, 30000L );
 
         Connection connection = new Connection( connectionParameter );
 
@@ -697,6 +697,8 @@ public abstract class ConnectionWrapperTestBase extends AbstractLdapTestUnit
         connectionWrapper.connect( monitor );
         connectionWrapper.bind( monitor );
 
+        assertTrue( connectionWrapper.isConnected() );
+
         IReferralHandler referralHandler = referralUrls -> {
             return connection;
         };

-- 
To stop receiving notification emails like this one, please contact
elecharny@apache.org.

Mime
View raw message