0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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.
This commit is contained in:
Bram Moolenaar
2018-04-10 21:43:26 +02:00
parent 1acdb3f301
commit b377457e69
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -762,6 +762,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1694,
/**/
1693,
/**/