-
Notifications
You must be signed in to change notification settings - Fork 27
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 flaky test --> add minimum wait time that is large enough #4164
Conversation
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.
please reassign when ready (i.e. not draft)
Codecov Report
@@ Coverage Diff @@
## master #4164 +/- ##
=========================================
- Coverage 84.3% 64.5% -19.9%
=========================================
Files 957 437 -520
Lines 41452 22779 -18673
Branches 954 173 -781
=========================================
- Hits 34975 14694 -20281
- Misses 6274 8036 +1762
+ Partials 203 49 -154
Flags with carried forward coverage won't be shown. Click here to find out more. |
Adresses #3694 |
Reassigning to @pcrespov as requested. |
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.
thx! Greatly appreciated! :-)
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.
Thanks
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.
Nice, please consider my comments
services/dynamic-sidecar/tests/unit/test_modules_outputs_watcher.py
Outdated
Show resolved
Hide resolved
…er.py Co-authored-by: Andrei Neagu <5694077+GitHK@users.noreply.github.com>
@mrnicegyu11 :-))) I meant "re-request review" :-) sorry for the confusion! |
Code Climate has analyzed commit c594d9c and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed!
|
This test would always run on my local machine, but fail sometimes on github actions. A timeout is needed here by design since a directory watcher is tested.
By decreasing the minimum timeout period successively I could make the test flaky on my local PC.
Arbitrarily we now set the minimum wait time to 3 seconds, which is 1 second more than the minimum 2sec waittime reported in failed test on github actions
Bonus:
Fixes (maybe impactful?) typo
sire_effects
-->side_effects