Increase default timeout
This commit is contained in:
parent
1e54e457d4
commit
3a6a8ca0f2
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ endfunc
|
||||||
" When running into the timeout an exception is thrown, thus the function does
|
" When running into the timeout an exception is thrown, thus the function does
|
||||||
" not return.
|
" not return.
|
||||||
func WaitFor(expr, ...)
|
func WaitFor(expr, ...)
|
||||||
let timeout = get(a:000, 0, 5000)
|
let timeout = get(a:000, 0, 10000)
|
||||||
let slept = s:WaitForCommon(a:expr, v:null, timeout)
|
let slept = s:WaitForCommon(a:expr, v:null, timeout)
|
||||||
if slept < 0
|
if slept < 0
|
||||||
throw 'WaitFor() timed out after ' . timeout . ' msec'
|
throw 'WaitFor() timed out after ' . timeout . ' msec'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue