danny0405 commented on code in PR #13229:
URL: https://github.com/apache/hudi/pull/13229#discussion_r2102040055
##########
hudi-client/hudi-client-common/src/test/java/org/apache/hudi/utils/HoodieWriterClientTestHarness.java:
##########
@@ -1171,19 +1180,24 @@ protected void
testHoodieConcatHandleOnDupInserts(boolean isPrepped, InstantGene
*/
protected void testUpsertsInternal(Function3<Object, BaseHoodieWriteClient,
Object, String> writeFn, boolean populateMetaFields, boolean isPrepped,
SupportsUpgradeDowngrade
upgradeDowngrade) throws Exception {
- metaClient = createMetaClient();
- HoodieWriteConfig.Builder cfgBuilder =
getConfigBuilder(HoodieFailedWritesCleaningPolicy.LAZY).withRollbackUsingMarkers(true)
-
.withMetadataConfig(HoodieMetadataConfig.newBuilder().enable(false).build());
- addConfigsForPopulateMetaFields(cfgBuilder, populateMetaFields);
- // Force using older timeline layout
- HoodieTableMetaClient.newTableBuilder()
+
+ metaClient.getStorage().deleteDirectory(new StoragePath(basePath));
Review Comment:
is the path shared among multiple test cases?
--
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]