forked from aniani/vim
patch 8.0.1424: the timer_pause test is flaky on Travis
Problem: The timer_pause test is flaky on Travis. Solution: Accept a longer sleep time on Mac.
This commit is contained in:
parent
fabaf753e2
commit
a47ebdbd22
@ -122,7 +122,12 @@ func Test_paused()
|
|||||||
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')
|
||||||
call assert_inrange(0, 30, slept)
|
if has('mac')
|
||||||
|
" The travis Mac machines appear to be very busy.
|
||||||
|
call assert_inrange(0, 40, slept)
|
||||||
|
else
|
||||||
|
call assert_inrange(0, 30, slept)
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
call assert_inrange(0, 10, slept)
|
call assert_inrange(0, 10, slept)
|
||||||
endif
|
endif
|
||||||
|
@ -771,6 +771,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 */
|
||||||
|
/**/
|
||||||
|
1424,
|
||||||
/**/
|
/**/
|
||||||
1423,
|
1423,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user