From: Bram Moolenaar Date: Mon, 8 Aug 2016 20:46:14 +0000 (+0200) Subject: patch 7.4.2186 X-Git-Tag: v7.4.2186 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36d1c0fef4039fd4c91643c8ac107e78115158c9;p=vim patch 7.4.2186 Problem: Timers test is flaky. Solution: Relax the sleep time check. --- diff --git a/src/testdir/test_timers.vim b/src/testdir/test_timers.vim index fb35f61ff..f334c1746 100644 --- a/src/testdir/test_timers.vim +++ b/src/testdir/test_timers.vim @@ -27,7 +27,7 @@ func Test_repeat_three() let timer = timer_start(50, 'MyHandler', {'repeat': 3}) let slept = WaitFor('g:val == 3') call assert_equal(3, g:val) - call assert_inrange(100, 250, slept) + call assert_inrange(80, 200, slept) endfunc func Test_repeat_many() diff --git a/src/version.c b/src/version.c index d53935e90..0a53260b1 100644 --- a/src/version.c +++ b/src/version.c @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2186, /**/ 2185, /**/