Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 b6ed74f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/testdir/test_terminal.vim
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -762,6 +762,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1670,
/**/
1669,
/**/
Expand Down

0 comments on commit b6ed74f

Please sign in to comment.