1
0
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:
Bram Moolenaar 2017-12-23 18:41:35 +01:00
parent fabaf753e2
commit a47ebdbd22
2 changed files with 8 additions and 1 deletions

View File

@ -122,7 +122,12 @@ func Test_paused()
let slept = WaitFor('g:val == 1')
call assert_equal(1, g:val)
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
call assert_inrange(0, 10, slept)
endif

View File

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