Yeah, I really think it's the problem.

I have committed a fix (using 30000L instead of 30L) because, anyway, it does 
not make any sense to use such a short timeout.

On 2018/03/26 22:35:09, Emmanuel Lécharny <[email protected]> wrote: 
> I wonder if there isn't a problem in the ConnectionWrapperTestBase class:
> 
> ...
>     protected ConnectionWrapper getConnectionWrapper(
> StudioProgressMonitor monitor )
>     {
>         // 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 );
> ...
> 
> Here, we set a configuration for the connection where the timeout is
> 30ms, which may perfectly be wayyyyy to short to get the connection
> established.
> 
> 
> If I set the timeout to 30000L, the test passes with flying colors.
> 
> -- 
> Emmanuel Lecharny
> 
> Symas.com
> directory.apache.org
> 
> 

Reply via email to