mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
test/timer_spec: increase base timeout
The following keeps happening in my local environment because the timeout is too short. [ FAILED ] test/functional/eval/timer_spec.lua @ 208: timers do not crash when processing events in the handler test/functional/eval/timer_spec.lua:219: retry() attempts: 1 test/helpers.lua:73: Expected objects to be the same. Passed in: (number) 0 Expected: (number) 1
This commit is contained in:
@@ -215,8 +215,8 @@ describe('timers', function()
|
||||
endfunc
|
||||
]])
|
||||
command("call timer_start(5, 'MyHandler', {'repeat': 1})")
|
||||
run(nil, nil, nil, load_adjust(10))
|
||||
retry(nil, load_adjust(100), function()
|
||||
run(nil, nil, nil, load_adjust(20))
|
||||
retry(nil, load_adjust(150), function()
|
||||
eq(1, eval("g:val"))
|
||||
end)
|
||||
end)
|
||||
|
Reference in New Issue
Block a user