aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-01 01:59:28 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-01 08:52:34 -0500
commit4b74996dbcf7ba6b10b375fa75c796630b8d5b50 (patch)
tree3527b62425f4151de5f69dc37f26098c0792595f /test
parent56f5e3bd6b9ea522f8099eb6f602490144f3c64a (diff)
downloadrneovim-4b74996dbcf7ba6b10b375fa75c796630b8d5b50.tar.gz
rneovim-4b74996dbcf7ba6b10b375fa75c796630b8d5b50.tar.bz2
rneovim-4b74996dbcf7ba6b10b375fa75c796630b8d5b50.zip
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
Diffstat (limited to 'test')
-rw-r--r--test/functional/eval/timer_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/eval/timer_spec.lua b/test/functional/eval/timer_spec.lua
index ef7df69fdb..9ee0735e40 100644
--- a/test/functional/eval/timer_spec.lua
+++ b/test/functional/eval/timer_spec.lua
@@ -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)