You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "jonvex (via GitHub)" <gi...@apache.org> on 2023/02/03 01:10:30 UTC

[GitHub] [hudi] jonvex commented on a diff in pull request #7831: [HUDI-5653] Add @AfterEach in TestHoodieDeltaStreamerWithMultiWriter to reset the datasource between tests

jonvex commented on code in PR #7831:
URL: https://github.com/apache/hudi/pull/7831#discussion_r1095247805


##########
hudi-utilities/src/test/java/org/apache/hudi/utilities/deltastreamer/TestHoodieDeltaStreamerWithMultiWriter.java:
##########
@@ -72,8 +73,12 @@ public class TestHoodieDeltaStreamerWithMultiWriter extends SparkClientFunctiona
   String basePath;
   String propsFilePath;
   String tableBasePath;
+  
+  @AfterEach
+  public void teardown() throws Exception {
+    TestDataSource.resetDataGen();

Review Comment:
   TestHoodieDeltaStreamer extends HoodieDeltaStreamerTestBase which extends UtilitiesTestBase which has this method as well. All the other usages of TestDataSource inherit from HoodieDeltaStreamerTestBase. So I don't think it needs to be added anywhere else



-- 
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-unsubscribe@hudi.apache.org

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