Skip to content

Fix Unstable test FlussAuthorizationITCase.testDeleteProducerOffsetsAuthorization#2866

Open
hemanthsavasere wants to merge 1 commit intoapache:mainfrom
hemanthsavasere:2854-fix-testDeleteProducerOffsetsAuthorization
Open

Fix Unstable test FlussAuthorizationITCase.testDeleteProducerOffsetsAuthorization#2866
hemanthsavasere wants to merge 1 commit intoapache:mainfrom
hemanthsavasere:2854-fix-testDeleteProducerOffsetsAuthorization

Conversation

@hemanthsavasere
Copy link
Contributor

Purpose

Linked issue: close #2854
Fixing the unstable test FlussAuthorizationITCase.testDeleteProducerOffsetsAuthorization

Brief change log

waitUntilTableReady polls until all bucket replicas for the table are online. Since replica assignment happens after putTablePath in CoordinatorEventProcessor.processCreateTable, by the time waitUntilTableReady returns, the coordinator's tablePathById map is guaranteed to contain the mapping. The @beforeeach now blocks until the coordinator is fully ready before any test method runs.

Tests

FlussAuthorizationITCase.testDeleteProducerOffsetsAuthorization should be fixed and it should pass

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.

[test] Unstable test FlussAuthorizationITCase.testDeleteProducerOffsetsAuthorization

1 participant