forked from aniani/vim
patch 8.2.0048: another timers test is flaky on Travis for Mac
Problem: Another timers test is flaky on Travis for Mac. Solution: Increase maximum expected time.
This commit is contained in:
@@ -73,7 +73,12 @@ func Test_timer_with_partial_callback()
|
||||
let slept = WaitFor('g:val == 1')
|
||||
call assert_equal(1, g:val)
|
||||
if has('reltime')
|
||||
call assert_inrange(49, 130, slept)
|
||||
" Mac on Travis can be slow.
|
||||
if has('mac')
|
||||
call assert_inrange(49, 180, slept)
|
||||
else
|
||||
call assert_inrange(49, 130, slept)
|
||||
endif
|
||||
else
|
||||
call assert_inrange(20, 100, slept)
|
||||
endif
|
||||
|
@@ -742,6 +742,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
48,
|
||||
/**/
|
||||
47,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user