From 5c463a28fff1d82222d49bc7960da9e0c866b060 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 27 Dec 2019 17:14:33 +0100 Subject: [PATCH] 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. --- src/testdir/test_timers.vim | 7 ++++++- src/version.c | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/testdir/test_timers.vim b/src/testdir/test_timers.vim index 78676d211c..e0d024b7a6 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 420c722d24..0fc35dc834 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, /**/ -- 2.47.2