patch 8.1.1852: timers test is flaky
Problem: Timers test is flaky.
Solution: Accept a larger count. Add test to list of flaky tests.
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim
index 9b41b46..fe02d88 100644
--- a/src/testdir/runtest.vim
+++ b/src/testdir/runtest.vim
@@ -333,6 +333,7 @@
\ 'Test_quotestar()',
\ 'Test_raw_one_time_callback()',
\ 'Test_reltime()',
+ \ 'Test_repeat_many()',
\ 'Test_repeat_three()',
\ 'Test_server_crash()',
\ 'Test_terminal_ansicolors_default()',
diff --git a/src/testdir/test_timers.vim b/src/testdir/test_timers.vim
index 367e46f..caeb230 100644
--- a/src/testdir/test_timers.vim
+++ b/src/testdir/test_timers.vim
@@ -43,7 +43,7 @@
let timer = timer_start(50, 'MyHandler', {'repeat': -1})
sleep 200m
call timer_stop(timer)
- call assert_inrange(2, 4, g:val)
+ call assert_inrange(2, 5, g:val)
endfunc
func Test_with_partial_callback()
diff --git a/src/version.c b/src/version.c
index 93867b8..abbb3b0 100644
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1852,
+/**/
1851,
/**/
1850,