dependabot[bot] opened a new pull request, #3820: URL: https://github.com/apache/cxf/pull/3820
Bumps [org.awaitility:awaitility](https://github.com/awaitility/awaitility) from 4.3.0 to 4.4.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/awaitility/awaitility/blob/master/changelog.txt">org.awaitility:awaitility's changelog</a>.</em></p> <blockquote> <h2>Changelog 4.4.0 (2026-11-27)</h2> <ul> <li> <p>Added an Automatic-Module-Name to the jar manifests, which changes the module names for module-path users: awaitility -> org.awaitility awaitility.kotlin -> org.awaitility.kotlin awaitility.scala -> org.awaitility.scala awaitility.groovy -> org.awaitility.groovy (issue 205, thanks to Piotr P. Karwasz for the original pull request).</p> </li> <li> <p>awaitility-groovy can now be used on the module path. Its Groovy extension module descriptor moved from META-INF/services to META-INF/groovy, where Groovy 2.5 and later look for it, because the module system rejected the old file.</p> </li> <li> <p>Added failFast to the Kotlin DSL (issue 206). For example:</p> <p>await atMost Duration.ofMinutes(1) failFast { workflow.phase == "Failed" } until { workflow.phase == "Done" } Also available are failFastWithReason("reason") { .. } and failFastAsserted { .. } (with an optional reason).</p> </li> <li> <p>Added Awaitility.getDefaultTimeout(), getDefaultPollInterval() and getDefaultPollDelay() that return the current defaults. getDefaultPollDelay() returns null when no default poll delay is set, and setDefaultPollDelay(Duration) now accepts null to go back to that, so you can save and restore all three (issue 269, thanks to Alexander Schmidt for the original pull request).</p> </li> <li> <p>Awaitility's internal polling executor is now a plain ThreadPoolExecutor instead of Executors.newSingleThreadExecutor(..), so each await statement no longer creates the finalizable wrapper that newSingleThreadExecutor adds (a cleaner registration from Java 21). On Java 8 ThreadPoolExecutor itself has a finalizer, so the saving there is one finalizable object instead of two (issue 168). Executors passed in by users and the existing InternalExecutorServiceFactory.create(..) methods are unchanged.</p> </li> <li> <p>fieldIn(..) no longer relies on the compiler's synthetic this$0 field to build its timeout message (issue 223).</p> </li> <li> <p>Upgraded assertj-core to 3.27.7 (thanks to Ian Hundere for pull request).</p> </li> <li> <p>Updated the README example to use the Duration overload in await().atMost(..) (thanks to Kurt Alfred Kluever for pull request).</p> </li> <li> <p>Added support for configuring the default timeout, poll interval and poll delay using ISO-8601 system properties. For example:</p> <p>-Dawaitility.defaultTimeout=PT5S -Dawaitility.defaultPollInterval=PT0.1S -Dawaitility.defaultPollDelay=PT0.2S</p> <p>(thanks to Henning Hoefer for pull request).</p> </li> <li> <p>Clarified fail-fast documentation so that it correctly states that terminal failure happens when the fail-fast condition evaluates to true, and cleaned up related Javadocs (thanks to Mustafa Ulu for pull request).</p> </li> <li> <p>Added failFastWithReason(Supplier<!-- raw HTML omitted -->, Callable<!-- raw HTML omitted -->) and failFastWithReason(Supplier<!-- raw HTML omitted -->, ThrowingRunnable) so that the fail-fast failure reason is created only when the fail-fast condition triggers, and can include the current state (issue 240). For example:</p> <p>await().failFastWithReason(() -> "Order failed, last known state: " + order.state(), () -> order.state() == FAILED).until(() -> order.state() == SHIPPED);</p> <p>If the supplier throws, the TerminalFailureException is still thrown and the supplier's exception is added to it as a suppressed exception.</p> </li> <li> <p>Added untilThrown(..) and untilThrownExactly(..) that wait until some code throws an exception of a given type and return that exception (issue 129). For example: IOException e = await().atMost(5, SECONDS).untilThrown(() -> client.fetch("/status"), IOException.class); untilThrown also matches subclasses, untilThrownExactly only the exact class. Both take a Callable or a ThrowingRunnable. If the code returns normally Awaitility keeps polling, and any other exception fails the wait right away unless it's ignored with e.g. ignoreException(..). A method reference to an overloaded method is ambiguous here, so use a lambda for those. The Kotlin DSL has "await.untilThrown<!-- raw HTML omitted --> { client.fetch("/status") }" and untilThrownExactly<!-- raw HTML omitted -->.</p> </li> <li> <p>Added timeoutMessage(Supplier<!-- raw HTML omitted -->) to the DSL. The supplier is only called if the await times out, and its text is appended on a new line after the standard timeout message, so the alias and the mismatch description are kept. For example: await().atMost(5, SECONDS) .timeoutMessage(() -> "Order state was " + orders.stateOf(orderId)) .until(() -> orders.stateOf(orderId) == SHIPPED); Kotlin users can write "await withTimeoutMessage { .. } until { .. }" (pull request 195, thanks to James Agnew for the original pull request).</p> </li> <li> <p>Added ConditionFactory#onTimeout(..) that takes a callback which is called once when the await times out, just before the ConditionTimeoutException is thrown. Use it to print extra diagnostics when a test is about to fail. For example: await().atMost(10, SECONDS).onTimeout(event -> env.printErrors()).until(..); The callback receives the TimeoutEvent and is called in the same cases as ConditionEvaluationListener#onTimeout (a timeout or an atLeast violation), not when the condition throws or a fail-fast condition fails. It is kept when conditionEvaluationListener(..) or logging(..) is called afterwards. If the callback throws, its exception is added as suppressed to the ConditionTimeoutException. The callback is still called if a listener's onTimeout throws. Also available in the Kotlin DSL as "await atMost 10.seconds onTimeout { .. } until { .. }" (issue 283, thanks to Burak KALAYCI for pull request).</p> </li> <li> <p>during(..) can now succeed with the default timeout (issues 91, 165, 186 and 264). If you don't set atMost yourself, the default timeout is extended by the during period, so await().during(10, SECONDS).until(..) now works with the default 10 second timeout. If you do set atMost and it is not larger than the poll delay plus the during period, the await now fails at once with a ConditionTimeoutException that explains why, instead of polling until the timeout. When the condition is fulfilled at the timeout but has not held for the whole during period, the error message now says so (thanks to arimu1 for the timeout message work in pull request 309).</p> </li> <li> <p>Added untilOrTimeout(..) and untilAssertedOrTimeout(..) that return an AwaitResult instead of throwing ConditionTimeoutException when the condition is not fulfilled in time. Other exceptions, such as fail fast failures, are still thrown. For example: AwaitResult<!-- raw HTML omitted --> result = await().atMost(Duration.ofSeconds(2)).untilOrTimeout(repository::count, is(greaterThan(2))); if (!result.isSuccess()) { log.warn("Got {} items: {}", result.getValue(), result.getCause().getMessage()); } Kotlin users can write "await atMost 2.seconds untilOrTimeout { repository.count() > 2 }" (issue 48, thanks to Jonatan Ivanov for the design).</p> </li> <li> <p>fieldIn(..) error messages now work for fields declared in a superclass. Before, the timeout message said "Internal error" (issue 247, thanks to Jaya Dileep for pull request).</p> </li> <li> <p>JavaVersionDetector now reads the major version from java.version strings like "25+36" and "25+36-ea" instead of throwing (issue 296, thanks to arimu1 for pull request).</p> </li> <li> <p>Clarified in the Javadoc that during(..) needs the condition to hold continuously, not for a total of that time (issue 298, thanks to Jaya Dileep for pull request).</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/awaitility/awaitility/commit/e85d9f6390d87d3466555a86d3be78238b1d23bf"><code>e85d9f6</code></a> [maven-release-plugin] prepare release awaitility-4.4.0</li> <li><a href="https://github.com/awaitility/awaitility/commit/a5e0f46ab789a27bce93f99ffdcf7856859c938e"><code>a5e0f46</code></a> [ci skip] Make the release script stop on failure and check before it changes...</li> <li><a href="https://github.com/awaitility/awaitility/commit/89aa8136d8475eed7f1d9b7ab2f609ee89df6cbc"><code>89aa813</code></a> Merge pull request <a href="https://redirect.github.com/awaitility/awaitility/issues/348">#348</a> from awaitility/claude/4.4.0-onfailure-310</li> <li><a href="https://github.com/awaitility/awaitility/commit/6223513d024bc8c4aebe34dd4947368615954e90"><code>6223513</code></a> Call the onTimeout callback even when a listener's onTimeout throws</li> <li><a href="https://github.com/awaitility/awaitility/commit/0b642810c4db9a4197f148bc546432a5b76f52f4"><code>0b64281</code></a> Merge pull request <a href="https://redirect.github.com/awaitility/awaitility/issues/310">#310</a> by kalayciburak, keeping master's onTimeout API</li> <li><a href="https://github.com/awaitility/awaitility/commit/18ce9f65c78642f36050537706fd99e87d02c9b1"><code>18ce9f6</code></a> Merge pull request <a href="https://redirect.github.com/awaitility/awaitility/issues/336">#336</a> from awaitility/claude/4.4.0-tryuntil</li> <li><a href="https://github.com/awaitility/awaitility/commit/653b941f104b6c20b55f65098c3135297e4b36ac"><code>653b941</code></a> Merge pull request <a href="https://redirect.github.com/awaitility/awaitility/issues/335">#335</a> from awaitility/claude/4.4.0-during</li> <li><a href="https://github.com/awaitility/awaitility/commit/d0c20f7515db5a068c0407a7c3d6211dac9a5669"><code>d0c20f7</code></a> Merge pull request <a href="https://redirect.github.com/awaitility/awaitility/issues/334">#334</a> from awaitility/claude/4.4.0-onfailure</li> <li><a href="https://github.com/awaitility/awaitility/commit/e58692f2a6c8b2b4716f1d6990f14c730bf40363"><code>e58692f</code></a> Merge pull request <a href="https://redirect.github.com/awaitility/awaitility/issues/333">#333</a> from awaitility/claude/4.4.0-timeoutmessage</li> <li><a href="https://github.com/awaitility/awaitility/commit/ad186065b9277cea2c02b9fa74057003f2a7884a"><code>ad18606</code></a> Merge pull request <a href="https://redirect.github.com/awaitility/awaitility/issues/337">#337</a> from awaitility/claude/4.4.0-untilthrown</li> <li>Additional commits viewable in <a href="https://github.com/awaitility/awaitility/compare/awaitility-4.3.0...awaitility-4.4.0">compare view</a></li> </ul> </details> <br /> [](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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
