nastra commented on code in PR #13590: URL: https://github.com/apache/iceberg/pull/13590#discussion_r2218442696
########## data/src/test/java/org/apache/iceberg/data/avro/TestGenericReadProjection.java: ########## @@ -34,8 +32,7 @@ public class TestGenericReadProjection extends TestReadProjection { @Override protected Record writeAndRead(String desc, Schema writeSchema, Schema readSchema, Record record) throws IOException { - File file = File.createTempFile("junit", ".avro", tempDir); - assertThat(file.delete()).isTrue(); + File file = tempDir.toPath().resolve("junit" + System.nanoTime() + ".avro").toFile(); Review Comment: here as well ########## data/src/test/java/org/apache/iceberg/data/orc/TestGenericReadProjection.java: ########## @@ -35,8 +33,7 @@ public class TestGenericReadProjection extends TestReadProjection { @Override protected Record writeAndRead(String desc, Schema writeSchema, Schema readSchema, Record record) throws IOException { - File file = File.createTempFile("junit", ".orc", tempDir); - assertThat(file.delete()).isTrue(); + File file = tempDir.toPath().resolve("junit" + System.nanoTime() + ".orc").toFile(); Review Comment: here as well -- 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