-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(telemetry)_: fix flaky cache test #5885
base: develop
Are you sure you want to change the base?
Conversation
Jenkins BuildsClick to see older builds (5)
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## develop #5885 +/- ##
==========================================
Coverage ? 46.07%
==========================================
Files ? 888
Lines ? 157372
Branches ? 0
==========================================
Hits ? 72507
Misses ? 76548
Partials ? 8317
Flags with carried forward coverage won't be shown. Click here to find out more. |
632d7e9
to
327be21
Compare
327be21
to
14f75f8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! 👍
Fix flaky test for telemetry cache by removing use of
time.Sleep
Telemetry behavior is dependent on timing, which can be hard to reproduce across all testing environments. Instead of running the telemetry client's main go routines via
Start()
and usingtime.Sleep
to trigger its timer, invoke the functionality being tested directly.