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

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

Commit 239c532f8338c9d8e9bb8062fab9fadd3376ec73 in geode's branch 
refs/heads/feature/GEODE-5787-dunit-internal from Dan Smith
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=239c532 ]

GEODE-5424: Changing all awaitility calls to use consistent timings

We have a lot of Awaitility calls in our tests. Each test was picking
its own timeout. That lead to some tests picking too small of a timeout
and failing spuriously.

With this change, all tests will use a new factory,
GeodeAwaility.await(), rather than Awaitility.await(). This new factory
sets a default timeout of 5 minutes. It also sets a sensible pollDelay
and pollInterval.

The custom timeouts used in all tests have been removed, in favor of
this new factory, except for a couple of tests that had waits greater
than 5 minutes.


> Change all awaitility use to a standard timeout
> -----------------------------------------------
>
>                 Key: GEODE-5424
>                 URL: https://issues.apache.org/jira/browse/GEODE-5424
>             Project: Geode
>          Issue Type: Task
>          Components: tests
>            Reporter: Dan Smith
>            Assignee: Dan Smith
>            Priority: Major
>              Labels: pull-request-available, swat
>             Fix For: 1.8.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Lets change all use of Awaitility in geode to use a standard timeout of 5 
> minutes. 
> We could do this by introducing a new static factory that wraps 
> Awaitility.await(), eg GeodeAwaitility.await() that sets the timeout to be 5 
> minutes, and bulk change all of our use of Awaitility to GeodeAwaitility.
> While we're at it, we might also want to change the default poll delay and 
> poll interval to something smaller if that will speed up our tests. 
> Relevant discussion thread on geode dev list: 
> https://geode.markmail.org/thread/cm2cngqupjsbipch



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to