XComp commented on a change in pull request #17972:
URL: https://github.com/apache/flink/pull/17972#discussion_r761053394



##########
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:
       args, good catch. I added it initially to provide a `Stream<Arguments>` 
until I realized that it's not necessary for parameter lists of size 1. I 
forgot to remove it while reverting the change. I updated the branch accordingly




-- 
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]


Reply via email to