Permalink
Browse files

patch 8.0.1670: terminal window tests are still a bit flaky

Problem:    Terminal window tests are still a bit flaky.
Solution:   Increase the waiting time for the buffer to be created.
  • Loading branch information...
brammool committed Apr 7, 2018
1 parent e1bb879 commit b6ed74fef8e088128c45928ee7d02458b2882c1e
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/testdir/test_terminal.vim
  2. +2 −0 src/version.c
@@ -1061,7 +1061,7 @@ func Api_drop_common(options)
\ "set t_ts=",
\ ], 'Xscript')
let buf = RunVimInTerminal('-S Xscript', {})
call WaitFor({-> bufnr('Xtextfile') > 0})
call WaitFor({-> bufnr('Xtextfile') > 0}, 2000)
call assert_equal('Xtextfile', expand('%:t'))
call assert_true(winnr('$') >= 3)
return buf
@@ -762,6 +762,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1670,
/**/
1669,
/**/

0 comments on commit b6ed74f

Please sign in to comment.