Skip to content

Commit 741ed33

Browse files
fix: google_compute_global_forwarding_rule acc test
1 parent 0786e71 commit 741ed33

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/resource/google/google_compute_global_forwarding_rule_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package google_test
22

33
import (
44
"testing"
5+
"time"
56

67
"github.com/snyk/driftctl/test"
78
"github.com/snyk/driftctl/test/acceptance"
@@ -17,6 +18,8 @@ func TestAcc_Google_ComputeGlobalForwardingRule(t *testing.T) {
1718
},
1819
Checks: []acceptance.AccCheck{
1920
{
21+
// New resources are not visible immediately through GCP API after an apply operation.
22+
ShouldRetry: acceptance.LinearBackoff(10 * time.Minute),
2023
Check: func(result *test.ScanResult, stdout string, err error) {
2124
if err != nil {
2225
t.Fatal(err)

0 commit comments

Comments
 (0)