changeset 18975:8696f0ebeb43 v8.2.0048

patch 8.2.0048: another timers test is flaky on Travis for Mac Commit: https://github.com/vim/vim/commit/5c463a28fff1d82222d49bc7960da9e0c866b060 Author: Bram Moolenaar <Bram@vim.org> 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.
author Bram Moolenaar <Bram@vim.org>
date Fri, 27 Dec 2019 17:15:03 +0100
parents 00b382af8a50
children f6c0722e266b
files src/testdir/test_timers.vim src/version.c
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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,