manojpec commented on a change in pull request #4704:
URL: https://github.com/apache/hudi/pull/4704#discussion_r794067055



##########
File path: 
hudi-utilities/src/test/java/org/apache/hudi/utilities/functional/TestHoodieDeltaStreamerWithMultiWriter.java
##########
@@ -87,12 +80,36 @@
   @EnumSource(HoodieTableType.class)
   void 
testUpsertsContinuousModeWithMultipleWritersForConflicts(HoodieTableType 
tableType) throws Exception {
     // NOTE : Overriding the LockProvider to InProcessLockProvider since 
Zookeeper locks work in unit test but fail on Jenkins with connection timeouts
-    setUpTestTable(tableType);
+    basePath = Paths.get(URI.create(basePath().replaceAll("/$", 
""))).toString();
+    propsFilePath = basePath + "/" + PROPS_FILENAME_TEST_MULTI_WRITER;
+    tableBasePath = basePath + "/testtable_" + tableType;
     prepareInitialConfigs(fs(), basePath, "foo");
     TypedProperties props = prepareMultiWriterProps(fs(), basePath, 
propsFilePath);
     props.setProperty("hoodie.write.lock.provider", 
"org.apache.hudi.client.transaction.lock.InProcessLockProvider");
     
props.setProperty(LockConfiguration.LOCK_ACQUIRE_WAIT_TIMEOUT_MS_PROP_KEY,"3000");

Review comment:
       right, quite a repetition of these props in few tests in this file. can 
be moved to prepareMultiWriterProps()




-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to