]> granicus.if.org Git - vim/commitdiff
patch 8.1.1860: map timeout test is flaky v8.1.1860
authorBram Moolenaar <Bram@vim.org>
Fri, 16 Aug 2019 19:47:27 +0000 (21:47 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 16 Aug 2019 19:47:27 +0000 (21:47 +0200)
Problem:    Map timeout test is flaky.
Solution:   Add test to list of flaky tests.  Increase timeout.

src/testdir/runtest.vim
src/testdir/test_mapping.vim
src/version.c

index 32c22fa335a21b397e5be36b675e633dfd394b4c..1df7fd96a8b54087d6487678d3ec790e743d2398 100644 (file)
@@ -322,6 +322,7 @@ let s:flaky_tests = [
       \ 'Test_diff_screen()',
       \ 'Test_exit_callback()',
       \ 'Test_exit_callback_interval()',
+      \ 'Test_map_timeout_with_timer_interrupt()',
       \ 'Test_nb_basic()',
       \ 'Test_open_delay()',
       \ 'Test_out_cb()',
index 6b9fb9ca1a86e05b22b9429423c713661ed02a0e..93a4d4b85757fd3e4ea10c825bdd328dea703546 100644 (file)
@@ -298,7 +298,7 @@ func Test_map_timeout_with_timer_interrupt()
   let g:val = 0
   nnoremap \12 :let g:val = 1<CR>
   nnoremap \123 :let g:val = 2<CR>
-  set timeout timeoutlen=100
+  set timeout timeoutlen=200
 
   func ExitCb(job, status)
     let g:timer = timer_start(1, {-> feedkeys("3\<Esc>", 't')})
index 66bd86fc736bb0ccdb2e18bbdbeecb213955b173..cf96d640fd2b3e8c2f5b117946ef92288aeb4ace 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1860,
 /**/
     1859,
 /**/