From f612e99db5a66bd52c0ab050f734b86e9d8128aa Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Sat, 26 Aug 2017 17:18:46 +0200 Subject: ci: XXX: permissive termclose_spec timer (#7217) We probably need to revisit the process_stop() logic. In the meantime this hack avoids CI noise. --- test/functional/autocmd/termclose_spec.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/functional/autocmd/termclose_spec.lua b/test/functional/autocmd/termclose_spec.lua index 8cc49c0d4c..c6c30494dd 100644 --- a/test/functional/autocmd/termclose_spec.lua +++ b/test/functional/autocmd/termclose_spec.lua @@ -57,7 +57,9 @@ describe('TermClose event', function() command('call jobstop(g:test_job)') retry(nil, nil, function() eq(1, eval('get(g:, "test_job_exited", 0)')) end) local duration = os.time() - start - eq(4, duration) + -- nvim starts sending kill after 2*KILL_TIMEOUT_MS + helpers.ok(4 <= duration) + helpers.ok(duration <= 7) -- <= 4 + delta because of slow CI end) it('reports the correct ', function() -- cgit