snuyanzin commented on code in PR #28497:
URL: https://github.com/apache/flink/pull/28497#discussion_r3457525674
##########
flink-fs-tests/src/test/java/org/apache/flink/hdfstests/ContinuousFileProcessingMigrationTest.java:
##########
@@ -387,7 +379,7 @@ private Tuple2<File, String> createFileAndFillWithData(
File base, String fileName, int fileIdx, String sampleLine) throws
IOException {
File file = new File(base, fileName + fileIdx);
- Assert.assertFalse(file.exists());
+ assertThat(file.exists()).isFalse();
Review Comment:
assertJ has `exists` for files
##########
flink-fs-tests/src/test/java/org/apache/flink/hdfstests/ContinuousFileProcessingMigrationTest.java:
##########
@@ -401,7 +393,7 @@ private Tuple2<File, String> createFileAndFillWithData(
FileUtils.moveFile(tmp, file);
- Assert.assertTrue("No result file present", file.exists());
+ assertThat(file.exists()).as("No result file present").isTrue();
Review Comment:
same
--
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]