changeset 17734:c92899aa761a v8.1.1864

patch 8.1.1864: still a timer test that is flaky on Mac commit https://github.com/vim/vim/commit/413c04e8d515f604a17b90295c86a0fd547518ba Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 16 22:29:18 2019 +0200 patch 8.1.1864: still a timer test that is flaky on Mac Problem: Still a timer test that is flaky on Mac. Solution: Adjust the sleep times.
author Bram Moolenaar <Bram@vim.org>
date Fri, 16 Aug 2019 22:30:04 +0200
parents 5fbbdaaa7f7c
children 4c661754e75b
files src/testdir/test_timers.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_timers.vim
+++ b/src/testdir/test_timers.vim
@@ -152,7 +152,7 @@ func StopTimer1(timer)
   let g:timer2 = timer_start(10, 'StopTimer2')
   " avoid maxfuncdepth error
   call timer_pause(g:timer1, 1)
-  sleep 40m
+  sleep 20m
 endfunc
 
 func StopTimer2(timer)
@@ -162,7 +162,7 @@ endfunc
 func Test_timer_stop_in_callback()
   call assert_equal(0, len(timer_info()))
   let g:timer1 = timer_start(10, 'StopTimer1')
-  sleep 40m
+  sleep 50m
   call assert_equal(0, len(timer_info()))
 endfunc
 
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1864,
+/**/
     1863,
 /**/
     1862,