Skip to content

Conversation

@eshitachandwani
Copy link
Member

@eshitachandwani eshitachandwani commented Dec 26, 2025

This PR fixes the TestErrorFromParentLB_ResourceNotFound to reconfigure the same CDS and EDS resources after they have been removed instead of configuring all the new resources.

Also removes unused defaultTestShortTimeout from internal/xds/balancer/clustermanager/clustermanager_test.go
RELEASE NOTES: None

@eshitachandwani eshitachandwani added Type: Internal Cleanup Refactors, etc Area: xDS Includes everything xDS related, including LB policies used with xDS. labels Dec 26, 2025
@eshitachandwani eshitachandwani added this to the 1.79 Release milestone Dec 26, 2025
@codecov
Copy link

codecov bot commented Dec 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.36%. Comparing base (4046676) to head (2b00e5d).
⚠️ Report is 8 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8794      +/-   ##
==========================================
- Coverage   83.42%   83.36%   -0.06%     
==========================================
  Files         418      417       -1     
  Lines       32897    32978      +81     
==========================================
+ Hits        27443    27491      +48     
- Misses       4069     4084      +15     
- Partials     1385     1403      +18     

see 42 files with indirect coverage changes

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

@easwars
Copy link
Contributor

easwars commented Jan 6, 2026

Please add a more descriptive title and description. This is what we recommend for our external contributors: https://github.com/grpc/grpc-go/blob/master/CONTRIBUTING.md#pr-descriptions


// Replace DNS resolver with a wrapped resolver to capture ResolveNow calls.
resolveNowCh := make(chan struct{}, 1)
resolveNowCh := make(chan struct{}, 3)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this change? How is a reviewer supposed to understand the motivation for this change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a flaky test which I thought was because of my changes but this is an already flaky test which pranjali is working on fixing , so reverting the change now.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flake reported in this issue is caused by the changes made for logical-dns.
Fixed this in adb4625.


const (
defaultTestTimeout = 10 * time.Second
defaultTestTimeout = 20 * time.Second
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. Why do these tests need 20s to run?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Earlier, with my changes , the test was taking around 15 secs to pass, because the EDS update was taking a tittle longer to be received.

But that doesn't seem to be the case anymore after a few other changes, so reverting the change.

@easwars easwars assigned eshitachandwani and unassigned easwars and arjan-bal Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: xDS Includes everything xDS related, including LB policies used with xDS. Type: Internal Cleanup Refactors, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants