vim-patch:8.1.1860: map timeout test is flaky

Problem:    Map timeout test is flaky.
Solution:   Add test to list of flaky tests.  Increase timeout.
ea94c85516
This commit is contained in:
Jan Edmund Lazo 2019-08-16 21:22:16 -04:00
parent 0455af00e6
commit ae95a62675
2 changed files with 2 additions and 1 deletions

View File

@ -280,6 +280,7 @@ endif
let s:flaky_tests = [
\ 'Test_cursorhold_insert()',
\ 'Test_exit_callback_interval()',
\ 'Test_map_timeout_with_timer_interrupt()',
\ 'Test_oneshot()',
\ 'Test_out_cb()',
\ 'Test_paused()',

View File

@ -288,7 +288,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')})