Skip to content

Commit 66520e6

Browse files
authored
Merge pull request #1553 from snyk/fix/aws_acc_tests
Add retry to kms acc tests
2 parents 7b5e045 + eb36fc4 commit 66520e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/resource/aws/aws_kms_key_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package aws_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,7 @@ func TestAcc_Aws_KMSKey(t *testing.T) {
1718
Env: map[string]string{
1819
"AWS_REGION": "us-east-1",
1920
},
21+
ShouldRetry: acceptance.LinearBackoff(10 * time.Minute),
2022
Check: func(result *test.ScanResult, stdout string, err error) {
2123
if err != nil {
2224
t.Fatal(err)

0 commit comments

Comments
 (0)