]> granicus.if.org Git - vim/commitdiff
patch 8.2.4456: terminal test may fail on some machines v8.2.4456
authorZdenek Dohnal <zdohnal@redhat.com>
Wed, 23 Feb 2022 14:25:17 +0000 (14:25 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 23 Feb 2022 14:25:17 +0000 (14:25 +0000)
Problem:    Terminal test may fail on some machines.
Solution:   Increase wait time. (Zdenek Dohnal, closes #9834)

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

index 233994275d76ebb93a9b79b2232ba7f6c0866e9b..8e7525847a36067afa3b22712b396cb95e942eff 100644 (file)
@@ -715,7 +715,8 @@ endfunction
 func Test_terminal_noblock()
   let g:test_is_flaky = 1
   let buf = term_start(&shell)
-  let wait_time = 5000
+  " Starting a terminal can be slow, esp. on busy CI machines.
+  let wait_time = 7500
   let letters = 'abcdefghijklmnopqrstuvwxyz'
   if has('bsd') || has('mac') || has('sun')
     " The shell or something else has a problem dealing with more than 1000
index b5d93fb2a7a71935a2bd8780fbcb6769655dfa42..0bd499131e8a4fe32d334c98ce29cc76ebfee291 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4456,
 /**/
     4455,
 /**/