nastra commented on code in PR #13590: URL: https://github.com/apache/iceberg/pull/13590#discussion_r2218442085
########## data/src/test/java/org/apache/iceberg/data/TestTableMigrationUtil.java: ########## @@ -96,8 +96,7 @@ void testListPartitionMissingFilesFailure() { private static void writePartitionFile(File outputDir) throws IOException { Iterable<GenericData.Record> records = RandomAvroData.generate(SCHEMA, 1000, 54310); - File testFile = File.createTempFile("junit", ".parquet", outputDir); - assertThat(testFile.delete()).as("Delete should succeed").isTrue(); + File testFile = outputDir.toPath().resolve("junit" + System.nanoTime() + ".parquet").toFile(); Review Comment: same as I mentioned further above -- 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