Mercurial > vim
changeset 13098:318577da90b1 v8.0.1424
patch 8.0.1424: the timer_pause test is flaky on Travis
commit https://github.com/vim/vim/commit/a47ebdbd222ae488a65be4e8bc3fd87c6301c000
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 23 18:41:35 2017 +0100
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 23 Dec 2017 18:45:05 +0100 |
parents | 396d5f903d26 |
children | d1fcf9d1be47 |
files | src/testdir/test_timers.vim src/version.c |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_timers.vim +++ b/src/testdir/test_timers.vim @@ -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