Mercurial > vim
changeset 13158:43bd8bad22b6 v8.0.1453
patch 8.0.1453: terminal test fails on some slow terminals
commit https://github.com/vim/vim/commit/218101442e8775bd1f05d1dda18d3946ee032dd1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 2 18:30:36 2018 +0100
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 02 Feb 2018 18:45:05 +0100 |
parents | c2a20b4e3e4f |
children | 12526d13b903 |
files | src/testdir/test_terminal.vim src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_terminal.vim +++ b/src/testdir/test_terminal.vim @@ -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)