neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 5119d10d41efd5250e4798c78571a73a478c473f
parent 061e573e7ed4fc01c0589018958b3734b4dd3bcf
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Fri,  8 Jul 2022 10:20:47 +0800

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

Diffstat:
Msrc/nvim/testdir/test_timers.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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