Skip to content

xds: Fix flakiness in ClusterImplLoadBalancerTest.pickFirstLoadReport_onUpdateAddress()#11514

Merged
DNVindhya merged 1 commit intogrpc:masterfrom
DNVindhya:fix-flaky-pickFirstLoadReport_onUpdateAddress
Sep 6, 2024
Merged

xds: Fix flakiness in ClusterImplLoadBalancerTest.pickFirstLoadReport_onUpdateAddress()#11514
DNVindhya merged 1 commit intogrpc:masterfrom
DNVindhya:fix-flaky-pickFirstLoadReport_onUpdateAddress

Conversation

@DNVindhya
Copy link
Copy Markdown
Contributor

Unit test: pickFirstLoadReport_onUpdateAddress() was checking equality of localityStats based on position, but the list returned by upstreamLocalityStatsList is an unordered list.
Updated to verify equality of localityStats independent of its position in the list.

CC @shivaspeaks

@DNVindhya DNVindhya merged commit f6d2f20 into grpc:master Sep 6, 2024
@DNVindhya DNVindhya deleted the fix-flaky-pickFirstLoadReport_onUpdateAddress branch September 6, 2024 16:15
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants