diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-01 01:59:28 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-01 08:52:34 -0500 |
commit | 4b74996dbcf7ba6b10b375fa75c796630b8d5b50 (patch) | |
tree | 3527b62425f4151de5f69dc37f26098c0792595f | |
parent | 56f5e3bd6b9ea522f8099eb6f602490144f3c64a (diff) | |
download | rneovim-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
-rw-r--r-- | test/functional/eval/timer_spec.lua | 4 |
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) |