skytin1004 commented on code in PR #7954:
URL: https://github.com/apache/iceberg/pull/7954#discussion_r1250474733


##########
orc/src/test/java/org/apache/iceberg/orc/TestOrcDeleteWriters.java:
##########
@@ -106,12 +104,14 @@ public void testEqualityDeleteWriter() throws IOException 
{
       deletedRecords = Lists.newArrayList(reader);
     }
 
-    Assert.assertEquals("Deleted records should match expected", records, 
deletedRecords);
+    Assertions.assertThat(deletedRecords)
+        .as("Deleted records should match expected")
+        .isEqualTo(records);
   }
 
   @Test
   public void testPositionDeleteWriter() throws IOException {
-    File deleteFile = temp.newFile();
+    File deleteFile = temp;

Review Comment:
   I've removed the `deleteFile`



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to