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:
parent
d4a282f7a5
commit
218101442e
@ -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)
|
||||
|
@ -771,6 +771,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1453,
|
||||
/**/
|
||||
1452,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user