Hi! Is there an "easy" way to unit test a retry policy? What I'm trying to achieve is: - if it's a 429, retry 2 times and wait for the value in
headers['retry-after']
headers['retry-after']
- if the response contains "overloaded", retry 5 times with an exponential backoff of 30 secs - if the response contains "This request would exceed the rate limit for your organization", retry in 1 minutes - Don't retry more than 5 times