Skip to content

test(admin): answer FindCoordinator on both brokers - #3778

Open
dnwe wants to merge 1 commit into
mainfrom
test/describe-transactions-coordinator-hang
Open

dnwe wants to merge 1 commit into
mainfrom
test/describe-transactions-coordinator-hang

Conversation

@dnwe

@dnwe dnwe commented Sep 24, 2026

Copy link
Copy Markdown
Collaborator

TestClusterAdminDescribeTransactionsRegroupsCoordinatorsOnRetry only gave the seed broker a FindCoordinator handler. The client may send the lookup to either broker, and when it picked the second one the mock ignored it and the test sat out the 30s read timeout, in about a third of runs. Both brokers now answer from the same sequence.

TestClusterAdminDescribeTransactionsRegroupsCoordinatorsOnRetry only
gave the seed broker a FindCoordinator handler. The client may ask any
broker, and when it asked the second one the request was ignored and
the test waited out the 30s read timeout, which happened in about a
third of runs. Serve the same sequence from both brokers.

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
@dnwe dnwe added the tests label Sep 24, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant