Closed
Description
We get flaky test failure notifications regularly due to the following error (#944 and issues referencing it):
8 RESOURCE_EXHAUSTED: Quota exceeded for quota metric 'Administrative requests' and limit 'Administrative requests per minute' of service 'spanner.googleapis.com' for consumer 'project_number:<project>'.
Error: 8 RESOURCE_EXHAUSTED: Quota exceeded for quota metric 'Administrative requests' and limit 'Administrative requests per minute' of service 'spanner.googleapis.com' for consumer 'project_number:<project>'.
I requested a quota increase for the project but the Spanner team recommended that we "implement exponential back-off with extended total timeout and number of re-tries for admin operations".
I think this is reasonable to do in the system and samples tests, starting with the create instance and database requests.