Skip to content

[HUDI-2077] Fix TestHoodieDeltaStreamerWithMultiWriter#3849

Merged
xushiyan merged 4 commits intoapache:masterfrom
xushiyan:HUDI-2077-fix-flaky-TestHoodieDeltaStreamer-with-fixture
Oct 25, 2021
Merged

[HUDI-2077] Fix TestHoodieDeltaStreamerWithMultiWriter#3849
xushiyan merged 4 commits intoapache:masterfrom
xushiyan:HUDI-2077-fix-flaky-TestHoodieDeltaStreamer-with-fixture

Conversation

@xushiyan
Copy link
Member

Remove the logic of using deltastreamer to prep test table. Use fixture (compressed test table) instead.

Committer checklist

  • Has a corresponding JIRA in PR title & commit

  • Commit message is descriptive of the change

  • CI is green

  • Necessary doc changes done or have another open PR

  • For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@hudi-bot
Copy link
Collaborator

hudi-bot commented Oct 23, 2021

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run travis re-run the last Travis build
  • @hudi-bot run azure re-run the last Azure build

Copy link
Contributor

@nsivabalan nsivabalan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea on the test prep step Raymond. can. you add a comment near setUpTestTable() that this can't be used to test the deltastreamer itself as it defeats the purpose. I inspected both the tests where you have used this fixture test table. But once we land this in, we can't control if someone else may start using to test other deltastreamer cases. So, just ensure we have some comments as to when to use this.
Will wait for you to update w/ test results and then can merge this in.

@xushiyan xushiyan force-pushed the HUDI-2077-fix-flaky-TestHoodieDeltaStreamer-with-fixture branch from b4bedfd to aadafac Compare October 23, 2021 19:16
@xushiyan xushiyan force-pushed the HUDI-2077-fix-flaky-TestHoodieDeltaStreamer-with-fixture branch from f59a750 to 16b061c Compare October 24, 2021 00:00
@xushiyan xushiyan requested a review from nsivabalan October 24, 2021 02:59
@xushiyan
Copy link
Member Author

@xushiyan xushiyan merged commit d856037 into apache:master Oct 25, 2021
@xushiyan xushiyan deleted the HUDI-2077-fix-flaky-TestHoodieDeltaStreamer-with-fixture branch October 25, 2021 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants