provider/google: Add an additional delay when checking for sql operations (#15170)
This commit is contained in:
parent
12d6afd1ee
commit
93c6c0de25
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue