Skip to content

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

Merged
dnwe merged 1 commit into
mainfrom
test/describe-transactions-coordinator-hang
Sep 27, 2026
Merged

dnwe merged 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
@dnwe
dnwe merged commit aa6db99 into main Sep 27, 2026
22 checks passed
@dnwe
dnwe deleted the test/describe-transactions-coordinator-hang branch September 27, 2026 11:05
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.

2 participants