Skip to content

Bump awaitility from 4.0.3 to 4.1.0

Bumps awaitility from 4.0.3 to 4.1.0.

Changelog

Sourced from awaitility's changelog.

Changelog 4.1.0 (2021-05-08)

  • Upgraded to Scala from 2.13.3 to 2.13.5 (thanks to sullis for pull request)

  • Upgraded Kotlin from 1.3.72 to 1.5.0

  • Fixed a bug preventing you to specify "fib(-1)" when using the fibonacci poll interval (thanks to Björn Michael for pull request) (issue 201)

  • Added support for fail-fast conditions. This is a special condition that, if fulfilled, will throw a "org.awaitility.core.TerminalFailureException" immediately, thus failing the test. This is good when you have a condition that you know beforehand should never be fulfilled. So instead of waiting the full duration of a normal condition evaluation period, the test will fail faster if this (fail fast) condition evaluates to true. For example:

    await().timeout(Duration.ofSeconds(5)).failFast(() -> orders.findById(1234).state == PAID).until(() -> orders.findById(1234).state == CLOSED);

    This will fail-fast if the state of order 1234 is ever equal to "PAID" during the 5 second evaluation of the condition specified in "until". (Thanks to Antony Stubbs for initial pull request) (issue 178)

  • Upgraded Groovy from version 3.0.4 to 3.0.8

Commits

Merge request reports

Loading