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

ASF subversion and git services commented on GEODE-8644:
--------------------------------------------------------

Commit 4ac3b78174f0298f1c207b626e19a7fb92e0f726 in geode's branch 
refs/heads/develop from Dale Emery
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=4ac3b78 ]

GEODE-8644: Change sleep to awaitility in sender queue test (#5796)

SerialGatewaySenderQueueDUnitTest.unprocessedTokensMapShouldDrainCompletely()
now waits until the queues are drained rather than sleeping for 2
seconds before asserting.

> 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
>            Reporter: Benjamin P Ross
>            Assignee: Benjamin P Ross
>            Priority: Major
>              Labels: 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.3.4#803005)

Reply via email to