zentol commented on a change in pull request #19185:
URL: https://github.com/apache/flink/pull/19185#discussion_r837320831
##########
File path:
flink-test-utils-parent/flink-test-utils-junit/src/main/java/org/apache/flink/core/testutils/FlinkAssertions.java
##########
@@ -60,32 +60,13 @@ private FlinkAssertions() {}
.anySatisfy(
cause ->
assertThat(cause)
+ .as(
+ "Any cause is instance
of class '%s' and contains message '%s'",
+ clazz, containsMessage)
Review comment:
Why is this set here and not on `assertThatChainOfCauses`?
(And why is it necessary at all; is the assertj assertion message so bad on
it's own?)
--
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]