Skip to content

Fix flaky NetworkAdvancedStatisticsTest race condition#1960

Merged
mattrpav merged 1 commit intoapache:mainfrom
pradeep85841:fix-flaky-network-stats
Apr 23, 2026
Merged

Fix flaky NetworkAdvancedStatisticsTest race condition#1960
mattrpav merged 1 commit intoapache:mainfrom
pradeep85841:fix-flaky-network-stats

Conversation

@pradeep85841
Copy link
Copy Markdown
Contributor

This was originally included in PR #1853, but I have split it out into this separate PR per @mattrpav review so it can be merged quickly.

updated the Wait.waitFor block so the test now waits for both the messages to arrive and the statistics to finish updating before running the final assertions.

Copy link
Copy Markdown
Contributor

@mattrpav mattrpav left a comment

Choose a reason for hiding this comment

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

LGTM

@mattrpav mattrpav self-assigned this Apr 23, 2026
@mattrpav mattrpav merged commit 8235168 into apache:main Apr 23, 2026
10 checks passed
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.

2 participants