]> granicus.if.org Git - vim/commitdiff
patch 8.0.1670: terminal window tests are still a bit flaky v8.0.1670
authorBram Moolenaar <Bram@vim.org>
Sat, 7 Apr 2018 08:42:14 +0000 (10:42 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 7 Apr 2018 08:42:14 +0000 (10:42 +0200)
Problem:    Terminal window tests are still a bit flaky.
Solution:   Increase the waiting time for the buffer to be created.

src/testdir/test_terminal.vim
src/version.c

index 218b4ca6f610707f6fce61abf46299b596d03627..cd7a2b21e9efaa7dbeab7578be175c86549fc304 100644 (file)
@@ -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
index 813bcfac2cb927cb630f8dae4a20eb1ba356d4d0..59ca7a8fdea06ba255f633deece5efdb178e79cf 100644 (file)
@@ -762,6 +762,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1670,
 /**/
     1669,
 /**/