0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.0.1453: terminal test fails on some slow terminals

Problem:    Terminal test fails on some slow terminals.
Solution:   Increase timeout to 10 seconds.
This commit is contained in:
Bram Moolenaar 2018-02-02 18:30:36 +01:00
parent d4a282f7a5
commit 218101442e
2 changed files with 3 additions and 1 deletions

View File

@ -522,7 +522,7 @@ func Test_terminal_noblock()
" On MS-Windows there is an extra empty line below "done". Find "done" in
" the last-but-one or the last-but-two line.
let lnum = term_getsize(buf)[0] - 1
call WaitFor({-> term_getline(buf, lnum) =~ "done" || term_getline(buf, lnum - 1) =~ "done"}, 3000)
call WaitFor({-> term_getline(buf, lnum) =~ "done" || term_getline(buf, lnum - 1) =~ "done"}, 10000)
let line = term_getline(buf, lnum)
if line !~ 'done'
let line = term_getline(buf, lnum - 1)

View File

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