# HG changeset patch # User Bram Moolenaar # Date 1565987404 -7200 # Node ID c92899aa761ae6679eea870136343c045f833b9f # Parent 5fbbdaaa7f7c1892d3a9c8838948557272190363 patch 8.1.1864: still a timer test that is flaky on Mac commit https://github.com/vim/vim/commit/413c04e8d515f604a17b90295c86a0fd547518ba Author: Bram Moolenaar 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. 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 @@ -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 diff --git a/src/version.c b/src/version.c --- 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,