Skip to content

A75: Add missing E2E test cases for xDS aggregate cluster - #9278

Open
mswierq wants to merge 3 commits into
grpc:masterfrom
mswierq:a75/aggregate-cluster-e2e-tests
Open

A75: Add missing E2E test cases for xDS aggregate cluster#9278
mswierq wants to merge 3 commits into
grpc:masterfrom
mswierq:a75/aggregate-cluster-e2e-tests

Conversation

@mswierq

@mswierq mswierq commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Adds missing E2E test cases for xDS aggregate cluster:

  • LRS Load Reporting for Aggregate Cluster:
    • TestAggregateCluster_LRS_PrimaryLeafOnly: Verifies LRS reports stats for the primary leaf cluster when healthy.
    • TestAggregateCluster_LRS_FailoverToSecondaryLeaf: Verifies LRS reports dynamically switch from primary to secondary leaf cluster upon endpoint failover.
    • TestAggregateCluster_LRS_DropsAndLoadReporting: Verifies 100% overload drop category reporting on leaf clusters.
  • Telemetry Labels for Aggregate Cluster:
    • TestTelemetryLabels_AggregateCluster: Verifies xDS telemetry labels (grpc.lb.backend_service, grpc.lb.locality) correctly reflect the active leaf cluster and update dynamically during failover.

This PR is part of A75 implementation. However, these test cases work for both the legacy and new LB policy tree.

RELEASE NOTES: n/a

@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.18%. Comparing base (89d4d61) to head (304b52f).
⚠️ Report is 12 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9278      +/-   ##
==========================================
+ Coverage   83.14%   83.18%   +0.04%     
==========================================
  Files         422      422              
  Lines       34862    34862              
==========================================
+ Hits        28985    29000      +15     
+ Misses       4385     4374      -11     
+ Partials     1492     1488       -4     

see 26 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants