From 93c6c0de253b21aff67af4ca1adcf3cddd2021ba Mon Sep 17 00:00:00 2001 From: Dana Hoffman Date: Fri, 9 Jun 2017 03:33:29 -0700 Subject: [PATCH] provider/google: Add an additional delay when checking for sql operations (#15170) --- builtin/providers/google/sqladmin_operation.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/providers/google/sqladmin_operation.go b/builtin/providers/google/sqladmin_operation.go index 00e929732..3e91caf5e 100644 --- a/builtin/providers/google/sqladmin_operation.go +++ b/builtin/providers/google/sqladmin_operation.go @@ -66,6 +66,7 @@ func sqladminOperationWait(config *Config, op *sqladmin.Operation, activity stri state := w.Conf() state.Timeout = 10 * time.Minute state.MinTimeout = 2 * time.Second + state.Delay = 5 * time.Second opRaw, err := state.WaitForState() if err != nil { return fmt.Errorf("Error waiting for %s (op %s): %s", activity, op.Name, err)