From: Bram Moolenaar Date: Fri, 27 Dec 2019 16:14:33 +0000 (+0100) Subject: patch 8.2.0048: another timers test is flaky on Travis for Mac X-Git-Tag: v8.2.0048 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c463a28fff1d82222d49bc7960da9e0c866b060;p=vim patch 8.2.0048: another timers test is flaky on Travis for Mac Problem: Another timers test is flaky on Travis for Mac. Solution: Increase maximum expected time. --- diff --git a/src/testdir/test_timers.vim b/src/testdir/test_timers.vim index 78676d211..e0d024b7a 100644 --- a/src/testdir/test_timers.vim +++ b/src/testdir/test_timers.vim @@ -73,7 +73,12 @@ func Test_timer_with_partial_callback() let slept = WaitFor('g:val == 1') call assert_equal(1, g:val) if has('reltime') - call assert_inrange(49, 130, slept) + " Mac on Travis can be slow. + if has('mac') + call assert_inrange(49, 180, slept) + else + call assert_inrange(49, 130, slept) + endif else call assert_inrange(20, 100, slept) endif diff --git a/src/version.c b/src/version.c index 420c722d2..0fc35dc83 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 48, /**/ 47, /**/