-
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
feat: Add delayed retry on 500/503 responses. #122
Conversation
Since |
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.
👍 to doing this work in the tests rather than in the app. It may be worth getting rid of the sleep_and_retry_on_conflict
decorator entirely if this helps the tests do that some work more explicitly.
1b1014a
to
494c8ac
Compare
For stand-alone, memcache based test, probably not a concern, but if these tests are run against a shared database (say one being used for rust tests), the tests will create a number of containers. We should note these so that they can be easily cleaned up later, as well as possibly avoid potential issues with existing, future collections. Test collections are now prefixed with "xxx" (e.g. "xxxx", "xxx_col", "xxx_meh", etc.)
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.
This branch makes the functional failures I see when running against syncstorage-rs drop from between 18-20 (intermittent) to 1 (known failure that will be fixed by the actix-1.0 upgrade)
Closes #121