]> granicus.if.org Git - vim/commitdiff
patch 7.4.2186 v7.4.2186
authorBram Moolenaar <Bram@vim.org>
Mon, 8 Aug 2016 20:46:14 +0000 (22:46 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 8 Aug 2016 20:46:14 +0000 (22:46 +0200)
Problem:    Timers test is flaky.
Solution:   Relax the sleep time check.

src/testdir/test_timers.vim
src/version.c

index fb35f61fff68c6a3b36f2b17d997f0babef5e288..f334c17464a242666d5a6b7ffb14a4036d8222ac 100644 (file)
@@ -27,7 +27,7 @@ func Test_repeat_three()
   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()
index d53935e9049c1b86715af05c899a4cfea08be0cc..0a53260b1792d8fea2ef147ba7b380f551fe73c1 100644 (file)
@@ -763,6 +763,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2186,
 /**/
     2185,
 /**/