snuyanzin commented on code in PR #19970:
URL: https://github.com/apache/flink/pull/19970#discussion_r1497054284


##########
flink-formats/flink-hadoop-bulk/src/test/java/org/apache/flink/formats/hadoop/bulk/AbstractFileCommitterTest.java:
##########
@@ -245,7 +240,7 @@ private void verifyCommittedFiles(
         for (String targetFileName : targetFileNames) {
             Path targetFilePath = new Path(basePath, targetFileName);
             assertThat(fileSystem.exists(targetFilePath))
-                    .as("Committed file should exists: " + targetFileName)
+                    .as("Committed file should exist: " + targetFileName)

Review Comment:
   ```suggestion
                       .as(() -> "Committed file should exist: " + 
targetFileName)
   ```
   we can use suppliers in order to concat string only in case of failure and 
do not dot it for success cases



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