zentol commented on a change in pull request #17972:
URL: https://github.com/apache/flink/pull/17972#discussion_r761029911
##########
File path:
flink-streaming-java/src/test/java/org/apache/flink/streaming/api/environment/CheckpointConfigFromConfigurationTest.java
##########
@@ -166,11 +199,15 @@ public void setNonDefaultValue(CheckpointConfig config) {
public void assertEqual(
CheckpointConfig configFromFile, CheckpointConfig
configFromSetters) {
- assertThat(getter.apply(configFromFile),
equalTo(getter.apply(configFromSetters)));
+ customAssertion.accept(getter.apply(configFromFile),
getter.apply(configFromSetters));
}
public void assertEqualNonDefault(CheckpointConfig configFromFile) {
- assertThat(getter.apply(configFromFile), equalTo(nonDefaultValue));
+ customAssertion.accept(getter.apply(configFromFile),
nonDefaultValue);
+ }
+
+ public Arguments asArgument() {
Review comment:
Is this some magical junit5 construct?
--
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]