test(acc): gcp

Increase the retry duration limit from 10 to 15 minutes.
main
sundowndev 2022-02-11 11:10:53 +04:00
parent a323a14183
commit ac8ab1362e
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ func TestAcc_Google_ComputeGlobalAddress(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)