slinkydeveloper commented on a change in pull request #17932:
URL: https://github.com/apache/flink/pull/17932#discussion_r759089679
##########
File path:
flink-test-utils-parent/flink-test-utils-junit/src/main/java/org/apache/flink/core/testutils/FlinkMatchers.java
##########
@@ -35,7 +35,14 @@
import java.util.function.Function;
import java.util.function.Predicate;
-/** Some reusable hamcrest matchers for Flink. */
+/**
+ * Some reusable hamcrest matchers for Flink.
+ *
+ * @deprecated You should assertj assertions, which have built-in assertions
for {@link
+ * CompletableFuture}. To check chains of {@link Throwable} causes, use
{@link
+ * FlinkAssertions#assertThatChainOfCauses(Throwable)}
+ */
+@Deprecated
Review comment:
Refactored in a separate commit annotated as hotfix
--
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]