comparison src/testdir/test_timers.vim @ 13164:45a9c54a6468 v8.0.1456

patch 8.0.1456: timer test on travis Mac is still flaky commit https://github.com/vim/vim/commit/8dce6c54c81f13582617db3127071b3436b8163b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 3 15:38:42 2018 +0100 patch 8.0.1456: timer test on travis Mac is still flaky Problem: Timer test on travis Mac is still flaky. Solution: Increase time range a bit more.
author Christian Brabandt <cb@256bit.org>
date Sat, 03 Feb 2018 15:45:04 +0100
parents 318577da90b1
children 16a062cf08c2
comparison
equal deleted inserted replaced
13163:98e5b0cddada 13164:45a9c54a6468
122 let slept = WaitFor('g:val == 1') 122 let slept = WaitFor('g:val == 1')
123 call assert_equal(1, g:val) 123 call assert_equal(1, g:val)
124 if has('reltime') 124 if has('reltime')
125 if has('mac') 125 if has('mac')
126 " The travis Mac machines appear to be very busy. 126 " The travis Mac machines appear to be very busy.
127 call assert_inrange(0, 40, slept) 127 call assert_inrange(0, 50, slept)
128 else 128 else
129 call assert_inrange(0, 30, slept) 129 call assert_inrange(0, 30, slept)
130 endif 130 endif
131 else 131 else
132 call assert_inrange(0, 10, slept) 132 call assert_inrange(0, 10, slept)