For example, IAM bootstrapping uses google.golang.org/api/cloudresourcemanager/v1 to read the policy on test projects and modify it if needed permissions are missing. This is problematic because tests run in VCR REPLAYING mode could still potentially make calls that return 409 (unavailable) errors and consume resources needed to run other tests.
Background
Certain VCR tests are flaky because bootstrapping uses libraries that violate the assumptions of VCR replaying. They do this by pulling credentials from environment variables.
For example, IAM bootstrapping uses
google.golang.org/api/cloudresourcemanager/v1
to read the policy on test projects and modify it if needed permissions are missing. This is problematic because tests run in VCRREPLAYING
mode could still potentially make calls that return 409 (unavailable) errors and consume resources needed to run other tests.What kind of contribution is this issue about?
test fixes
general contributions