]> granicus.if.org Git - vim/commitdiff
patch 8.1.1864: still a timer test that is flaky on Mac v8.1.1864
authorBram Moolenaar <Bram@vim.org>
Fri, 16 Aug 2019 20:29:18 +0000 (22:29 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 16 Aug 2019 20:29:18 +0000 (22:29 +0200)
Problem:    Still a timer test that is flaky on Mac.
Solution:   Adjust the sleep times.

src/testdir/test_timers.vim
src/version.c

index dc01d84b855bca8aa5dd0c80ed6908a560541fa4..f40213dddac62cca114bdb2eb218b1aa46311f3f 100644 (file)
@@ -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
 
index 3adfdd059b596762c6d97a6e34b6531702ba7fd2..f3de68b89953e1d1be9a200284dcc6c42806aaa2 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1864,
 /**/
     1863,
 /**/