rdblue commented on code in PR #11987:
URL: https://github.com/apache/iceberg/pull/11987#discussion_r1919504716


##########
spark/v3.4/spark/src/test/java/org/apache/iceberg/spark/data/TestSparkOrcReader.java:
##########
@@ -62,8 +62,7 @@ public void writeAndValidateRepeatingRecords() throws 
IOException {
 
   private void writeAndValidateRecords(Schema schema, Iterable<InternalRow> 
expected)
       throws IOException {
-    final File testFile = temp.newFile();
-    Assert.assertTrue("Delete should succeed", testFile.delete());
+    final File testFile = temp.resolve("test").toFile();

Review Comment:
   This test suite also hit issues with JUnit 4 so I ported all the 
`AvroDataTest` suites to JUnit 5.



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

Reply via email to