google-cloud-python
google-cloud-python copied to clipboard
Use exponential backoff on test/sample admin requests to harden against RESOURCE_EXHAUSTED test failures
Currently, when multiple PRs run the samples + system tests at similar times, the PRs will have RESOURCE_EXHAUSTED failures due to exceeding the admin request per minute quota.
As per https://github.com/googleapis/nodejs-spanner/issues/958, the recommendation is to:
implement exponential back-off with extended total timeout and number of re-tries for admin operations
This issue was moved from the following repo as part of the monorepo migration: googleapis/python-spanner