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

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

Commit 28785d0608574bd8d9027bd780429a4c4d82a80d in geode's branch 
refs/heads/develop from [[email protected]]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=28785d0 ]

GEODE-5978: Expand GeodeAwaitility and add test coverage

Add getTimeout to allow the default timeout to be used for more than
just Awaitility (for example, with Mockito.timeout).

Add toTimeDuration to facilitate conversions between java.time.Duration
and org.awaitility.Duration.

Make timeout non-static for testing and write some unit tests.


> Expand GeodeAwaitility so that the default timeout can be used for 
> Mockito.timeout
> ----------------------------------------------------------------------------------
>
>                 Key: GEODE-5978
>                 URL: https://issues.apache.org/jira/browse/GEODE-5978
>             Project: Geode
>          Issue Type: Wish
>          Components: tests
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Many tests use Mockito.verify which supports Mockito.timeout. I'd like to 
> expose the timeout in GeodeAwaitility for use with Mockito.timeout. I'd also 
> like to add toTimeDuration to facilitate conversions between 
> java.time.Duration and org.awaitility.Duration.
> Since GeodeAwaitility does not have any unit tests, we should also make it 
> testable.



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

Reply via email to