diff src/testdir/test_terminal.vim @ 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 36c503100cb3
children b5806be0b36d
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)