On 7/8/19 5:12 PM, Emmanuel Lécharny wrote:
>> * ClientAddRequestTest sometimes hangs forever. I was able to reproduce
>> on my machine when running it multiple times. It waits forever for a
>> future, see thread dump below.
> 
> 
> I'll investigate this one.
> 
> 
>>
>>     java.lang.Thread.State: TIMED_WAITING (on object monitor)
>>          at java.lang.Object.wait(Native Method)
>>          - waiting on <0x00000007794c4780> (a
>> org.apache.directory.ldap.client.api.future.AddFuture)
>>          at
>> org.apache.directory.ldap.client.api.future.UniqueResponseFuture.get(UniqueResponseFuture.java:90)

This should be fixed. Issue was that the UniqueResponseFuture always
waited, even when it was already done, then it waited for the timeout
what is by default 30 seconds. Same fix applied in HandshakeFuture.

See commits d51054d003d4ca6c0f2d505de9d081ced9587078 and
b9c3f3d8f8ac7e0955741f77a6ab5018fa263800


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to