mirror of
https://github.com/vim/vim.git
synced 2025-10-12 06:44:06 -04:00
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')
|
let slept = WaitFor('g:val == 1')
|
||||||
call assert_equal(1, g:val)
|
call assert_equal(1, g:val)
|
||||||
if has('reltime')
|
if has('reltime')
|
||||||
|
" Mac on Travis can be slow.
|
||||||
|
if has('mac')
|
||||||
|
call assert_inrange(49, 180, slept)
|
||||||
|
else
|
||||||
call assert_inrange(49, 130, slept)
|
call assert_inrange(49, 130, slept)
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
call assert_inrange(20, 100, slept)
|
call assert_inrange(20, 100, slept)
|
||||||
endif
|
endif
|
||||||
|
@@ -742,6 +742,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
48,
|
||||||
/**/
|
/**/
|
||||||
47,
|
47,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user