summaryrefslogtreecommitdiffstats
path: root/src/testdir/screendump.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-11 20:53:49 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-11 20:53:49 +0200
commit769e9d21ac3e8dff43b9ef5e46cdc4523833b51e (patch)
treeba7bacd8603ba2da1d4a28e1c87813969804be8f /src/testdir/screendump.vim
parentd60e0a1d202d49503ba95a40c165172c8f61db7a (diff)
patch 8.0.1697: various tests are still a bit flakyv8.0.1697
Problem: Various tests are still a bit flaky. Solution: Increase the default wait time to five seconds.
Diffstat (limited to 'src/testdir/screendump.vim')
-rw-r--r--src/testdir/screendump.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testdir/screendump.vim b/src/testdir/screendump.vim
index e1e660b373..9812e7e6de 100644
--- a/src/testdir/screendump.vim
+++ b/src/testdir/screendump.vim
@@ -60,8 +60,8 @@ func RunVimInTerminal(arguments, options)
call assert_equal([rows, cols], term_getsize(buf))
" Wait for "All" of the ruler in the status line to be shown.
- " This can be quite slow (e.g. when using valgrind), wait up to 4 seconds.
- call WaitFor({-> len(term_getline(buf, rows)) >= cols - 1}, 4000)
+ " This can be quite slow (e.g. when using valgrind).
+ call WaitFor({-> len(term_getline(buf, rows)) >= cols - 1})
return buf
endfunc
@@ -70,7 +70,7 @@ endfunc
func StopVimInTerminal(buf)
call assert_equal("running", term_getstatus(a:buf))
call term_sendkeys(a:buf, "\<Esc>\<Esc>:qa!\<cr>")
- call WaitFor('term_getstatus(' . a:buf . ') == "finished"', 3000)
+ call WaitFor('term_getstatus(' . a:buf . ') == "finished"')
only!
endfunc