jackye1995 commented on code in PR #9722:
URL: https://github.com/apache/iceberg/pull/9722#discussion_r1491471174
##########
core/src/test/java/org/apache/iceberg/inmemory/TestInMemoryFileIO.java:
##########
@@ -21,17 +21,18 @@
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
+import java.util.UUID;
import org.apache.iceberg.exceptions.AlreadyExistsException;
import org.apache.iceberg.exceptions.NotFoundException;
import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.Test;
public class TestInMemoryFileIO {
- String location = "s3://foo/bar.txt";
@Test
public void testBasicEndToEnd() throws IOException {
InMemoryFileIO fileIO = new InMemoryFileIO();
+ String location = "s3://foo/" + UUID.randomUUID();
Review Comment:
nit: can have a helper method like
```
private String randomLocation() {
return "s3://foo/" + UUID.randomUUID();
}
--
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]