[ 
https://issues.apache.org/jira/browse/GEODE-8644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447573#comment-17447573
 ] 

Xiaojian Zhou commented on GEODE-8644:
--------------------------------------

The reproduced failures are all caused by locator disconnected:

[locator] [info 2021/11/13 08:43:12.331 UTC  <WAN Locator Discovery Thread1> 
tid=0x46] Failed to connect to localhost/127.0.0.1:0

[locator] [warn 2021/11/13 08:43:12.331 UTC  <WAN Locator Discovery Thread1> 
tid=0x46] Locator discovery task for locator 
heavy-lifter-ca6688de-b95d-5db6-9ac5-57db242f6302.c.apachegeode-ci.internal[34223]
 could not exchange locator information with localhost[0] after 45 retry 
attempts. Retrying in 10000 ms.


> SerialGatewaySenderQueueDUnitTest.unprocessedTokensMapShouldDrainCompletely() 
> intermittently fails when queues drain too slowly
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-8644
>                 URL: https://issues.apache.org/jira/browse/GEODE-8644
>             Project: Geode
>          Issue Type: Bug
>    Affects Versions: 1.15.0
>            Reporter: Benjamin P Ross
>            Assignee: Mark Hanson
>            Priority: Major
>              Labels: GeodeOperationAPI, needsTriage, pull-request-available
>
> Currently the test 
> SerialGatewaySenderQueueDUnitTest.unprocessedTokensMapShouldDrainCompletely() 
> relies on a 2 second delay to allow for queues to finish draining after 
> finishing the put operation. If queues take longer than 2 seconds to drain 
> the test will fail. We should change the test to wait for the queues to be 
> empty with a long timeout in case the queues never fully drain.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to