vim-patch:8.1.1852: timers test is flaky #10788

Problem:    Timers test is flaky.
Solution:   Accept a larger count.  Add test to list of flaky tests.
7e6feb9eeb
This commit is contained in:
Jan Edmund Lazo
2019-08-16 04:11:03 -04:00
committed by Justin M. Keyes
parent 812ed53724
commit 66528f2475
2 changed files with 2 additions and 1 deletions

View File

@@ -286,6 +286,7 @@ let s:flaky_tests = [
\ 'Test_quoteplus()', \ 'Test_quoteplus()',
\ 'Test_quotestar()', \ 'Test_quotestar()',
\ 'Test_reltime()', \ 'Test_reltime()',
\ 'Test_repeat_many()',
\ 'Test_repeat_three()', \ 'Test_repeat_three()',
\ 'Test_terminal_composing_unicode()', \ 'Test_terminal_composing_unicode()',
\ 'Test_terminal_redir_file()', \ 'Test_terminal_redir_file()',

View File

@@ -48,7 +48,7 @@ func Test_repeat_many()
endif endif
sleep 200m sleep 200m
call timer_stop(timer) call timer_stop(timer)
call assert_inrange((has('mac') ? 1 : 2), LoadAdjust(4), g:val) call assert_inrange((has('mac') ? 1 : 2), LoadAdjust(5), g:val)
endfunc endfunc
func Test_with_partial_callback() func Test_with_partial_callback()