Skip to content

Conversation

@yihua
Copy link
Contributor

@yihua yihua commented Jan 7, 2026

Describe the issue this Pull Request addresses

The test TestHoodieClientMultiWriter#testMultiWriterWithInsertsToDistinctPartitions uses hardcoded sequential instant times ("002", "003", "004", "005", "006") for 5 concurrent writers. Since the writers ran concurrently without coordination, there was no guarantee they would start and complete in order. If writer "004" started first, subsequent attempts would create "002" or "003", which is not realistic.

Summary and Changelog

This PR fixes the test to use InProcessTimeGenerator.createNewInstantTime() for the each commit.

Impact

Test improvement.

Risk Level

none

Documentation Update

none

Contributor's checklist

  • Read through contributor's guide
  • Enough context is provided in the sections above
  • Adequate tests were added if applicable

@github-actions github-actions bot added the size:XS PR with lines of changes in <= 10 label Jan 7, 2026
Copy link
Member

@voonhous voonhous left a comment

Choose a reason for hiding this comment

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

LGTM +1

@hudi-bot
Copy link
Collaborator

hudi-bot commented Jan 7, 2026

CI report:

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

@voonhous voonhous merged commit 245db2c into apache:master Jan 7, 2026
72 checks passed
PavithranRick pushed a commit to PavithranRick/hudi that referenced this pull request Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS PR with lines of changes in <= 10

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants