snuyanzin commented on code in PR #28497:
URL: https://github.com/apache/flink/pull/28497#discussion_r3454294751
##########
flink-fs-tests/src/test/java/org/apache/flink/hdfstests/ContinuousFileProcessingTest.java:
##########
@@ -218,7 +219,7 @@ public void testFileReadingOperatorWithEventTime() throws
Exception {
// we are in event time, which emits no watermarks, so the last
watermark will mark the
// of the input stream.
- Assert.assertEquals(NO_OF_FILES * LINES_PER_FILE + 1,
tester.getOutput().size());
+ assertThat(tester.getOutput().size()).isEqualTo(NO_OF_FILES *
LINES_PER_FILE + 1);
Review Comment:
why not `hasSize`?
--
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]