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.
This commit is contained in:
Bram Moolenaar
2019-08-16 22:29:18 +02:00
parent 9174639a82
commit 413c04e8d5
2 changed files with 4 additions and 2 deletions

View 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

View File

@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1864,
/**/
1863,
/**/