Skip to content

RATIS-2442. Wait for configuration to be applied to listeners in test#1383

Open
spacemonkd wants to merge 1 commit intoapache:masterfrom
spacemonkd:RATIS-2442
Open

RATIS-2442. Wait for configuration to be applied to listeners in test#1383
spacemonkd wants to merge 1 commit intoapache:masterfrom
spacemonkd:RATIS-2442

Conversation

@spacemonkd
Copy link

What changes were proposed in this pull request?

Sometimes testChangeListenerToFollower checks for the listener role too early, causing it to be flaky.
This change waits for the configuration to be applied before fetching the listeners giving enough time to transition to follower.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/RATIS-2442

How was this patch tested?

Patch was tested via Unit tests

@spacemonkd spacemonkd marked this pull request as ready for review March 21, 2026 09:53
@spacemonkd
Copy link
Author

@adoroszlai could you take a look?

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.

1 participant