nastra commented on code in PR #13590:
URL: https://github.com/apache/iceberg/pull/13590#discussion_r2235241325
##########
core/src/test/java/org/apache/iceberg/TestTableMetadata.java:
##########
@@ -1830,8 +1830,7 @@ public void testNoTrailingLocationSlash() {
private String createManifestListWithManifestFile(
long snapshotId, Long parentSnapshotId, String manifestFile) throws
IOException {
- File manifestList = File.createTempFile("manifests", null, temp.toFile());
- manifestList.deleteOnExit();
+ File manifestList = temp.resolve("manifests-" + snapshotId + "-" +
System.nanoTime()).toFile();
Review Comment:
```suggestion
File manifestList = temp.resolve("manifests-" +
System.nanoTime()).toFile();
```
--
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]