-
Notifications
You must be signed in to change notification settings - Fork 160
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
Make sure DelayType function gets consistent values of n #125
Conversation
It seems that there's some timing issue with one of the tests:
|
It seems that this test is already disabled for mac:
|
Hi, I sincerely apologize for the delayed response. I've fixed the tests in #99. Please rebase your PR against the main branch so we can proceed with the review. Thank you for your patience and contribution! |
Without this change DelayType function gets n either from 0,1,2,... or from 1,2,3,... depending on the value of Attempts config value. This change unifies the behaviour and makes n always take values from 1,2,3,... Fixes avast#124 Signed-off-by: Piotr Jastrzebski <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #125 +/- ##
=======================================
Coverage 90.86% 90.86%
=======================================
Files 2 2
Lines 230 230
=======================================
Hits 209 209
Misses 17 17
Partials 4 4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thank you, for your PR |
Thanks @JaSei ! |
Without this change DelayType function gets n either from 0,1,2,... or from 1,2,3,... depending on the value of Attempts config value.
This change unifies the behaviour and makes n always take values from 1,2,3,...
Fixes #124