From eb36fc4a25e230ba819d5ad7056c64d19359f5fd Mon Sep 17 00:00:00 2001 From: William Beuil Date: Tue, 28 Jun 2022 14:57:37 +0200 Subject: [PATCH] fix: add retry kms acc tests --- pkg/resource/aws/aws_kms_key_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/resource/aws/aws_kms_key_test.go b/pkg/resource/aws/aws_kms_key_test.go index 3c103975..ea8940f7 100644 --- a/pkg/resource/aws/aws_kms_key_test.go +++ b/pkg/resource/aws/aws_kms_key_test.go @@ -2,6 +2,7 @@ package aws_test import ( "testing" + "time" "github.com/snyk/driftctl/test" "github.com/snyk/driftctl/test/acceptance" @@ -17,6 +18,7 @@ func TestAcc_Aws_KMSKey(t *testing.T) { Env: map[string]string{ "AWS_REGION": "us-east-1", }, + ShouldRetry: acceptance.LinearBackoff(10 * time.Minute), Check: func(result *test.ScanResult, stdout string, err error) { if err != nil { t.Fatal(err)