yihua commented on code in PR #14210:
URL: https://github.com/apache/hudi/pull/14210#discussion_r2495956157


##########
hudi-spark-datasource/hudi-spark/src/test/java/org/apache/hudi/functional/TestBootstrapReadBase.java:
##########
@@ -76,10 +77,10 @@ public abstract class TestBootstrapReadBase extends 
HoodieSparkClientTestBase {
 
   @BeforeEach
   public void setUp() throws Exception {
-    bootstrapBasePath = tmpFolder.toAbsolutePath() + "/bootstrapBasePath";
-    hudiBasePath = tmpFolder.toAbsolutePath() + "/hudiBasePath";
-    bootstrapTargetPath = tmpFolder.toAbsolutePath() + "/bootstrapTargetPath";
-    initSparkContexts();
+    bootstrapBasePath = tmpFolder.toAbsolutePath() + 
UUID.randomUUID().toString() + "/bootstrapBasePath";
+    hudiBasePath = tmpFolder.toAbsolutePath() + UUID.randomUUID().toString() + 
"/hudiBasePath";
+    bootstrapTargetPath = tmpFolder.toAbsolutePath() + 
UUID.randomUUID().toString() + "/bootstrapTargetPath";
+    initSparkContexts(this.getClass().getSimpleName() + UUID.randomUUID());

Review Comment:
   Create a random UUID once with `UUID.randomUUID().toString()` and use the 
same for different folders in the same test for easier debugging?



-- 
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]

Reply via email to