SharedObjects.SharedObjects.BeforeAllCallback and AfterAllCallback.CompletableFuture.CompletionStage.TestLoggerResource for try-with-resources statement.MultiShotLatch.trigger() is called.OneShotLatch.trigger() is called.OneShotLatch.trigger() is called.BlockerSync.block() or BlockerSync.blockNonInterruptible().OneShotLatch.await(long, TimeUnit) and transforms any InterruptedException or
TimeoutException into a RuntimeException.BlockerSync.releaseBlocker() is called or this thread is interrupted.BlockerSync.releaseBlocker() is called.AbstractAssert.extracting(Function, AssertFactory) to perform assertions on a chain
of causes.ScheduledFuture implementation.Throwable that matches by class.Throwable that matches by class and message.Throwable that contains the expected error message.ContextClassLoaderExtension.EachCallbackWrapper or AllCallbackWrapper.BeforeEachCallback and AfterEachCallback.AbstractCompletableFutureAssert.failsWithin(Duration), that doesn't rely on timeouts.AbstractCompletableFutureAssert.failsWithin(Duration), that doesn't rely on timeouts.AbstractCompletableFutureAssert.succeedsWithin(Duration), that doesn't rely on timeouts.ExternalResource.CompletableFutureAssert, that allows asserting
futures without relying on timeouts.WithThrowable.CompletableFuture. To check chains of Throwable causes, use FlinkAssertions.anyCauseMatches(String) or FlinkAssertions.anyCauseMatches(Class,
String)CompletableFuture completed already exceptionally with a specific
exception type.CompletableFuture will completed exceptionally within a certain time.CompletableFuture will completed exceptionally within a certain time.CompletableFuture will completed exceptionally within a certain time.ScheduledExecutorService implementation for testing purposes.TestTemplateInvocationContextProvider that return default TestTemplateInvocationContext.Parameterized.Parameter for Junit 5 parameterized
tests.OneShotLatch.isTriggered() returns false.RetryRule.RetryRule.CheckedThread.go() method instead.SharedReferences.SharedReferences.SharedObjects.TestContainerExtension provides common functionality for TestContainer
implementations.ExecutorService for testing purposes.ExecutorService for testing purposes.TestLoggerResource for try-with-resources
statement.queuedRunnables.CompletableFuture won't complete within the given timeout.CompletableFuture will not complete within a fixed duration.ThrowableAssertAlternative to chain further assertions on the underlying throwable.Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.