commit | 36d1c0fef4039fd4c91643c8ac107e78115158c9 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Aug 08 22:46:14 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Aug 08 22:46:14 2016 +0200 |
tree | 575707a32f2e124e9cc26bcf6b145b4eee769b47 | |
parent | 71dd9744cf3842cd45295010d2e5692da1651537 [diff] |
patch 7.4.2186 Problem: Timers test is flaky. Solution: Relax the sleep time check.
diff --git a/src/testdir/test_timers.vim b/src/testdir/test_timers.vim index fb35f61..f334c17 100644 --- a/src/testdir/test_timers.vim +++ b/src/testdir/test_timers.vim
@@ -27,7 +27,7 @@ let timer = timer_start(50, 'MyHandler', {'repeat': 3}) let slept = WaitFor('g:val == 3') call assert_equal(3, g:val) - call assert_inrange(100, 250, slept) + call assert_inrange(80, 200, slept) endfunc func Test_repeat_many()