# HG changeset patch # User Bram Moolenaar # Date 1577463303 -3600 # Node ID 8696f0ebeb43f0f2d2105e5263ebb32f093dd3f0 # Parent 00b382af8a509a8ac0a61ea19b5d60c3cbf8b46c patch 8.2.0048: another timers test is flaky on Travis for Mac Commit: https://github.com/vim/vim/commit/5c463a28fff1d82222d49bc7960da9e0c866b060 Author: Bram Moolenaar Date: Fri Dec 27 17:14:33 2019 +0100 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 48, +/**/ 47, /**/ 46,