Add retries to default service account CheckDestroy method
These tests occasionally fail due to the reverts not being propagated by the time the CheckDestroy method runs. These retries will ensure we've waited enough time before considering the cleanup to be failed.
fixes: hashicorp/terraform-provider-google#24259
iam: Add retries to cleanup verification method to reduce flakiness
Hello! I am a robot. Tests will require approval from a repository maintainer to run.
Googlers: For automatic test runs see go/terraform-auto-test-runs.
@BBBmau, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.
You can help make sure that review is quick by doing a self-review and by running impacted tests locally.
Hi there, I'm the Modular magician. I've detected the following information about your changes:
Diff report
Your PR generated some diffs in downstreams - here they are.
google provider: Diff ( 1 file changed, 29 insertions(+), 14 deletions(-))
google-beta provider: Diff ( 1 file changed, 29 insertions(+), 14 deletions(-))
Tests analytics
Total tests: 167 Passed tests: 136 Skipped tests: 30 Affected tests: 1
Click here to see the affected service packages
- resourcemanager
Action taken
Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
- TestAccResourceGoogleProjectDefaultServiceAccountsDeprivilege