Permalink
Browse files

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.
  • Loading branch information...
brammool committed Dec 23, 2017
1 parent fabaf75 commit a47ebdbd222ae488a65be4e8bc3fd87c6301c000
Showing with 8 additions and 1 deletion.
  1. +6 −1 src/testdir/test_timers.vim
  2. +2 −0 src/version.c
@@ -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
@@ -771,6 +771,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1424,
/**/
1423,
/**/

0 comments on commit a47ebdb

Please sign in to comment.