Permalink
Browse files

patch 8.0.1694: terminal API test is a bit flaky

Problem:    Terminal API test is a bit flaky.
Solution:   Wait longer for Vim to stop.
  • Loading branch information...
brammool committed Apr 10, 2018
1 parent 1acdb3f commit b377457e693210d1b0c0bbac7e04671fc98f038b
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/testdir/screendump.vim
  2. +2 −0 src/version.c
@@ -70,7 +70,7 @@ endfunc
func StopVimInTerminal(buf)
call assert_equal("running", term_getstatus(a:buf))
call term_sendkeys(a:buf, "\<Esc>\<Esc>:qa!\<cr>")
call WaitFor('term_getstatus(' . a:buf . ') == "finished"')
call WaitFor('term_getstatus(' . a:buf . ') == "finished"', 3000)
only!
endfunc
@@ -762,6 +762,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1694,
/**/
1693,
/**/

0 comments on commit b377457

Please sign in to comment.