[
https://issues.apache.org/jira/browse/GEODE-5532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16570572#comment-16570572
]
Kirk Lund edited comment on GEODE-5532 at 8/6/18 7:56 PM:
----------------------------------------------------------
See AbstractGatewaySenderEventProcessor.waitForDispatcherToPause()
was (Author: klund):
See AbstractGatewaySenderEventProcessor.awaitForDispatcherToPause()
> Add isPaused to GatewaySender or change pause to be synchronous
> ---------------------------------------------------------------
>
> Key: GEODE-5532
> URL: https://issues.apache.org/jira/browse/GEODE-5532
> Project: Geode
> Issue Type: New Feature
> Components: wan
> Reporter: Kirk Lund
> Priority: Major
>
> This feature is needed to remove flakiness from AsyncEventQueue and Wan tests
> without using thread sleeps.
> Tests such as AsyncEventListenerDistributedTest need to pause the
> GatewaySender and then do some work after every dispatcher thread has
> successfully paused. These tests currently sleep for one second after pausing
> the GatewaySender. In order to convert the thread sleep to an Awaitility
> call, we need an isPaused() method added to GatewaySender or we need to
> change pause() to be synchronous.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)