Skip to content

Commit 36d1c0f

Browse files
committed
patch 7.4.2186
Problem: Timers test is flaky. Solution: Relax the sleep time check.
1 parent 71dd974 commit 36d1c0f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/testdir/test_timers.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func Test_repeat_three()
2727
let timer = timer_start(50, 'MyHandler', {'repeat': 3})
2828
let slept = WaitFor('g:val == 3')
2929
call assert_equal(3, g:val)
30-
call assert_inrange(100, 250, slept)
30+
call assert_inrange(80, 200, slept)
3131
endfunc
3232

3333
func Test_repeat_many()

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,8 @@ static char *(features[]) =
763763

764764
static int included_patches[] =
765765
{ /* Add new patch number below this line */
766+
/**/
767+
2186,
766768
/**/
767769
2185,
768770
/**/

0 commit comments

Comments
 (0)