From 4b74996dbcf7ba6b10b375fa75c796630b8d5b50 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Tue, 1 Dec 2020 01:59:28 -0500 Subject: 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 --- test/functional/eval/timer_spec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/functional/eval/timer_spec.lua') 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) -- cgit