geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirk Lund <kl...@apache.org>
Subject Geode develop updated to use Awaitility 2.0
Date Fri, 10 Feb 2017 21:29:10 GMT
As of last Friday, we are now using Awaitility 2.0 on develop. Here are
some links and things that are new:

Import from *org.awaitility.Awaitility *now instead of
com.jayway.awaitility.Awaitility. See
http://www.javadoc.io/doc/org.awaitility/awaitility/2.0.0

You can now use *atLeast* expressions. See
https://github.com/awaitility/awaitility/wiki/Usage#example-11---at-least

*await().atLeast(15, SECONDS).atMost(2, MINUTES).until(() ->
assertThat(memberDisconnected()).isTrue());*

For lots of great examples and ideas on using Awaitility read
https://github.com/awaitility/awaitility/wiki/Usage

I should have sent this out sooner, but if you have any long-lives feature
branches then do a replace of "com.jayway.awaitility" with "org.awaitility"
if you rebase on develop.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message