You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2022/05/12 07:38:34 UTC

[GitHub] [servicecomb-java-chassis] dependabot[bot] opened a new pull request, #2873: Bump awaitility from 3.0.0 to 4.2.0

dependabot[bot] opened a new pull request, #2873:
URL: https://github.com/apache/servicecomb-java-chassis/pull/2873

   Bumps [awaitility](https://github.com/awaitility/awaitility) from 3.0.0 to 4.2.0.
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a href="https://github.com/awaitility/awaitility/blob/master/changelog.txt">awaitility's changelog</a>.</em></p>
   <blockquote>
   <h2>Changelog 4.2.0 (2022-03-04)</h2>
   <ul>
   <li>
   <p>Fixed a bug in the shutdown behavior of a polling thread. The wrong time unit was used causing executor shutdown to take way more time than expected in cases where it's stuck. Thanks to Claus Näveke for spotting this and for the initial PR.</p>
   </li>
   <li>
   <p>Fixed a bug in which condition was not evaluated correctly with small intervals, such as:
   await().atMost(Duration.ofMillis(10)).pollInterval(Duration.ofMillis(5)).until(..);
   (issue 224). Thanks to Robby Decosemaeker for PR.</p>
   </li>
   <li>
   <p>Upgraded the awaitility-kotlin module to use kotlin 1.6.10</p>
   </li>
   <li>
   <p>Fail fast conditions can now be specified with assertions. For example:</p>
   <p>await().failFast(() -&gt; assertThat(state).isNotEqualTo(&quot;Failed&quot;)).until(..);</p>
   <p>(issue 238)</p>
   </li>
   </ul>
   <h2>Changelog 4.1.1 (2021-10-25)</h2>
   <ul>
   <li>Fixed a bug preventing you to specify &quot;fib(-1)&quot; when using the fibonacci poll interval (thanks to Björn Michael for pull request) (issue 201)</li>
   <li>Avoid memory leak by caching only the original default uncaught exception handler globally (thanks to Oliver Grof for pull request (issue 221)</li>
   <li>Added &quot;conditionEvaluationListener&quot; to Kotlin DSL</li>
   </ul>
   <h2>Changelog 4.1.0 (2021-05-08)</h2>
   <ul>
   <li>
   <p>Upgraded to Scala from 2.13.3 to 2.13.5 (thanks to sullis for pull request)</p>
   </li>
   <li>
   <p>Upgraded Kotlin from 1.3.72 to 1.5.0</p>
   </li>
   <li>
   <p>Added support for fail-fast conditions. This is a special condition that, if fulfilled, will throw a &quot;org.awaitility.core.TerminalFailureException&quot; 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:</p>
   <p>await().timeout(Duration.ofSeconds(5)).failFast(() -&gt; orders.findById(1234).state == PAID).until(() -&gt; orders.findById(1234).state == CLOSED);</p>
   <p>This will fail-fast if the state of order 1234 is ever equal to &quot;PAID&quot; during the 5 second evaluation of the condition specified in &quot;until&quot;.
   (Thanks to Antony Stubbs for initial pull request) (issue 178)</p>
   </li>
   <li>
   <p>Upgraded Groovy from version 3.0.4 to 3.0.8</p>
   </li>
   </ul>
   <h2>Changelog 4.0.3 (2020-05-19)</h2>
   <ul>
   <li>
   <p>Upgraded to Scala 2.13.2 from 2.13.0 (thanks to sullis for pull request)</p>
   </li>
   <li>
   <p>Upgraded Kotlin extension to use Kotlin 1.3.72 (instead of 1.3.61)</p>
   </li>
   <li>
   <p>Improved org.awaitility.core.ConditionEvaluationLogger to accept a consumer that decides how the logs are printed. You can use this to for example log intermediary values using slf4j instead of System.out.println or log to to disk or a data structure such as CopyOnWriteArrayList. For example:</p>
   <p>await().conditionEvaluationListener(new ConditionEvaluationLogger(log::info)).until(<!-- raw HTML omitted -->);</p>
   <p>This will log using a the logger &quot;log&quot; instead of printing to the console.</p>
   </li>
   <li>
   <p>Fixed problems with test dependencies in pom.xml</p>
   </li>
   <li>
   <p>Upgraded Groovy from 2.5.7 to 3.0.4</p>
   </li>
   </ul>
   <h2>Changelog 4.0.2 (2020-01-03)</h2>
   <ul>
   <li>Improved formatting of elapsed time (or error and logging) for long time durations</li>
   <li>Implemented support for &quot;during&quot; (issue 124) (big thanks to Pablo Díaz-López for pull request)</li>
   <li>org.awaitility.core.ConditionEvaluationListener now has two additional hooks, &quot;beforeEvaluation&quot; and &quot;onTimeout&quot;, which you can implement to get notified on these events. They are implemented as default methods to retain backward compatibility. (issue 149) (big thanks to Oliver Grof for pull request)</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/awaitility/awaitility/commit/b5d82b703caa88b2ddc2ae0d06020c286d023a79"><code>b5d82b7</code></a> [maven-release-plugin] prepare release awaitility-4.2.0</li>
   <li><a href="https://github.com/awaitility/awaitility/commit/1ae03495d5a76298ae03f64b1209bc63f049d6b6"><code>1ae0349</code></a> Preparing changelog for release</li>
   <li><a href="https://github.com/awaitility/awaitility/commit/386eccb7369b6bdb0e434980a0c39ec7c70405a9"><code>386eccb</code></a> Improve error message in test</li>
   <li><a href="https://github.com/awaitility/awaitility/commit/fc45eb743e7f3a2aec2d57f6d3efd11165c9de44"><code>fc45eb7</code></a> Fail fast conditions can now be specified with assertions</li>
   <li><a href="https://github.com/awaitility/awaitility/commit/d39c00d76af752cfede573453aa904c761c5f6f6"><code>d39c00d</code></a> Upgrading Kotlin to 1.6.10</li>
   <li><a href="https://github.com/awaitility/awaitility/commit/f359e945794f1c2fc99c6a2cb1b7ac8638394cb8"><code>f359e94</code></a> Formatted ConditionAwaiter</li>
   <li><a href="https://github.com/awaitility/awaitility/commit/9c9a79bbb8c4a9c1cf5b8822a310e3b9161d07a4"><code>9c9a79b</code></a> Updated changelog to reflect the latest changes</li>
   <li><a href="https://github.com/awaitility/awaitility/commit/9e40d37614fae55588b7d512a447f76804f3e312"><code>9e40d37</code></a> Fix <a href="https://github-redirect.dependabot.com/awaitility/awaitility/issues/224">#224</a> - handle immidiate success scenario (<a href="https://github-redirect.dependabot.com/awaitility/awaitility/issues/228">#228</a>)</li>
   <li><a href="https://github.com/awaitility/awaitility/commit/3c9f3450ca3bcf7dd53f8fcf2f7c06675350d9cc"><code>3c9f345</code></a> Fixed a bug in the shutdown behavior of a polling thread. The wrong time unit...</li>
   <li><a href="https://github.com/awaitility/awaitility/commit/c4962d815b955059553f506ff1bed8ae7d055266"><code>c4962d8</code></a> Update README.md</li>
   <li>Additional commits viewable in <a href="https://github.com/awaitility/awaitility/compare/awaitility-3.0.0...awaitility-4.2.0">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.awaitility:awaitility&package-manager=maven&previous-version=3.0.0&new-version=4.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
   - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-java-chassis] Shoothzj merged pull request #2873: Bump awaitility from 3.0.0 to 4.2.0

Posted by GitBox <gi...@apache.org>.
Shoothzj merged PR #2873:
URL: https://github.com/apache/servicecomb-java-chassis/pull/2873


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org