Replies: 2 comments
-
hm so this is an interesting problem 😅, but I'm gonna say your use-case is correct, because it's a testing mode and it's made for capping, not configuration. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Good to know. To prove the point further we have a nested |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reusing the documentation example, this code prints up to "trying 10" while I would have expected it to stop at the third iteration.
Our use case, if it can help, is that we are upgrading code from using homemade retries to this package. And we want to test the number of retries stay the same. Using
set_testing
allows us to speed up tests but then the number of retries can be greater than expected.It doesn't look like this specific case (
set_testing
increasing the number of attempts) was thought about while building the feature in #59 . So I am not sure if it's a worthwhile change to do ?Beta Was this translation helpful? Give feedback.
All reactions