From a323a14183e5c73bbe472c5d4c8cdf395af766e1 Mon Sep 17 00:00:00 2001 From: sundowndev Date: Fri, 11 Feb 2022 10:42:23 +0400 Subject: [PATCH] test(acc): google_bigquery_table_test Increase the retry duration limit from 10 to 15 minutes. --- pkg/resource/google/google_bigquery_table_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/resource/google/google_bigquery_table_test.go b/pkg/resource/google/google_bigquery_table_test.go index 733dd27f..44c327f6 100644 --- a/pkg/resource/google/google_bigquery_table_test.go +++ b/pkg/resource/google/google_bigquery_table_test.go @@ -22,7 +22,7 @@ func TestAcc_Google_BigqueryTable(t *testing.T) { // Logic below retries driftctl scan using a back-off strategy of retrying 'n' times // and doubling the amount of time waited after each one. ShouldRetry: func(result *test.ScanResult, retryDuration time.Duration, retryCount uint8) bool { - if result.IsSync() || retryDuration > 10*time.Minute { + if result.IsSync() || retryDuration > 15*time.Minute { return false } time.Sleep((2 * time.Duration(retryCount)) * time.Minute)