nastra commented on code in PR #9367: URL: https://github.com/apache/iceberg/pull/9367#discussion_r1435519924
########## spark/v3.5/spark/src/test/java/org/apache/iceberg/spark/actions/TestRemoveOrphanFilesAction.java: ########## @@ -938,8 +946,8 @@ public void testRemoveOrphanFilesWithStatisticFiles() throws Exception { .olderThan(System.currentTimeMillis() + 1000) .execute(); - Assertions.assertThat(statsLocation.exists()).as("stats file should exist").isTrue(); - Assertions.assertThat(statsLocation.length()) + assertThat(statsLocation.exists()).as("stats file should exist").isTrue(); Review Comment: ```suggestion assertThat(statsLocation).as("stats file should exist").exists(); ``` -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org