From 5119d10d41efd5250e4798c78571a73a478c473f Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 8 Jul 2022 10:20:47 +0800 Subject: vim-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. https://github.com/vim/vim/commit/413c04e8d515f604a17b90295c86a0fd547518ba --- src/nvim/testdir/test_timers.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/nvim/testdir/test_timers.vim b/src/nvim/testdir/test_timers.vim index 22a1587152..eea27e4b90 100644 --- a/src/nvim/testdir/test_timers.vim +++ b/src/nvim/testdir/test_timers.vim @@ -150,7 +150,7 @@ func StopTimer1(timer) let g:timer2 = 10->timer_start('StopTimer2') " avoid maxfuncdepth error call timer_pause(g:timer1, 1) - sleep 40m + sleep 20m endfunc func StopTimer2(timer) @@ -160,7 +160,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 -- cgit