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.
413c04e8d5
This commit is contained in:
zeertzjq
2022-07-08 10:20:47 +08:00
parent 061e573e7e
commit 5119d10d41

View File

@@ -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