You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(servicegraph): make virtual node tests reliable on Windows (#37550)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
The virtual node tests (TestVirtualNodeServerLabels and
TestVirtualNodeClientLabels) were failing intermittently on Windows due
to timing issues. This change:
- Reduces MetricsFlushInterval and StoreExpirationLoop to 10ms
- Adds a timeout-based polling mechanism to wait for metrics generation
- Replaces unreliable sleep with proper metric availability checks
- Improves error messaging for test failures
<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes#33679
<!--Describe what testing was performed and which tests were added.-->
#### Testing
Updates tests
<!--Describe the documentation added.-->
#### Documentation
<!--Please delete paragraphs that you did not use before submitting.-->
0 commit comments