diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-12-27 17:14:33 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-12-27 17:14:33 +0100 |
commit | 5c463a28fff1d82222d49bc7960da9e0c866b060 (patch) | |
tree | c9f0ab9e49d737c30bfca8a3ce07d45def1c1ff2 | |
parent | 0c1e3744ff0cd6c17af773046b876b428ff3dded (diff) | |
download | vim-git-8.2.0048.tar.gz |
patch 8.2.0048: another timers test is flaky on Travis for Macv8.2.0048
Problem: Another timers test is flaky on Travis for Mac.
Solution: Increase maximum expected time.
-rw-r--r-- | src/testdir/test_timers.vim | 7 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/testdir/test_timers.vim b/src/testdir/test_timers.vim index 78676d211..e0d024b7a 100644 --- a/src/testdir/test_timers.vim +++ b/src/testdir/test_timers.vim @@ -73,7 +73,12 @@ func Test_timer_with_partial_callback() let slept = WaitFor('g:val == 1') call assert_equal(1, g:val) if has('reltime') - call assert_inrange(49, 130, slept) + " Mac on Travis can be slow. + if has('mac') + call assert_inrange(49, 180, slept) + else + call assert_inrange(49, 130, slept) + endif else call assert_inrange(20, 100, slept) endif diff --git a/src/version.c b/src/version.c index 420c722d2..0fc35dc83 100644 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 48, +/**/ 47, /**/ 46, |