Skip to content

Commit 3b05642

Browse files
Tests flake due to creation race condition (#3770) (#2292)
Signed-off-by: Modular Magician <[email protected]>
1 parent 90aaac2 commit 3b05642

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changelog/3770.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/resource_google_service_account_iam_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ func TestAccServiceAccountIamBinding_withCondition(t *testing.T) {
5757
}
5858

5959
func TestAccServiceAccountIamBinding_withAndWithoutCondition(t *testing.T) {
60+
// Resource creation race condition
61+
skipIfVcr(t)
6062
t.Parallel()
6163

6264
account := fmt.Sprintf("tf-test-%d", randInt(t))
@@ -137,6 +139,8 @@ func TestAccServiceAccountIamMember_withCondition(t *testing.T) {
137139
}
138140

139141
func TestAccServiceAccountIamMember_withAndWithoutCondition(t *testing.T) {
142+
// Resource creation race condition
143+
skipIfVcr(t)
140144
t.Parallel()
141145

142146
account := fmt.Sprintf("tf-test-%d", randInt(t))

0 commit comments

Comments
 (0)