magic-modules icon indicating copy to clipboard operation
magic-modules copied to clipboard

Add retries to default service account CheckDestroy method

Open chasevedder opened this issue 3 weeks ago • 4 comments

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

chasevedder avatar Dec 09 '25 22:12 chasevedder

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.

github-actions[bot] avatar Dec 09 '25 22:12 github-actions[bot]

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(-))

modular-magician avatar Dec 09 '25 22:12 modular-magician

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

Get to know how VCR tests work

modular-magician avatar Dec 09 '25 22:12 modular-magician

🟢 Tests passed during RECORDING mode: TestAccResourceGoogleProjectDefaultServiceAccountsDeprivilege [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

modular-magician avatar Dec 09 '25 22:12 modular-magician