yihua commented on code in PR #6704:
URL: https://github.com/apache/hudi/pull/6704#discussion_r973630103
##########
hudi-common/src/test/java/org/apache/hudi/common/functional/TestHoodieLogFormat.java:
##########
@@ -124,12 +125,13 @@ public static void tearDownClass() {
@BeforeEach
public void setUp() throws IOException, InterruptedException {
- this.fs = MiniClusterUtil.fileSystem;
+ FileSystem fileSystemOriginal = MiniClusterUtil.fileSystem;
- assertTrue(fs.mkdirs(new Path(tempDir.toAbsolutePath().toString())));
+ assertTrue(fileSystemOriginal.mkdirs(new
Path(tempDir.toAbsolutePath().toString())));
this.partitionPath = new Path(tempDir.toAbsolutePath().toString());
this.basePath = tempDir.getParent().toString();
- HoodieTestUtils.init(MiniClusterUtil.configuration, basePath,
HoodieTableType.MERGE_ON_READ);
+ HoodieTableMetaClient init =
HoodieTestUtils.init(MiniClusterUtil.configuration, basePath,
HoodieTableType.MERGE_ON_READ);
+ this.fs = init.getFs();
Review Comment:
@loukey-lj Could you clarify how the changes improve the tests for #6602
you put up?
--
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]