summaryrefslogtreecommitdiffstats
path: root/src/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-12-07 17:05:31 +0100
committerBram Moolenaar <Bram@vim.org>2019-12-07 17:05:31 +0100
commit3c47e8384de62dd67748454a853677e32ee7842c (patch)
treed834180588a79710ebff35378ca414c87c9c304d /src/testdir
parent664f3cf3f21d3699bfd179c318ef5c869c085648 (diff)
patch 8.1.2403: autocmd test fails under valgrindv8.1.2403
Problem: Autocmd test fails under valgrind. Solution: Wait a bit longer.
Diffstat (limited to 'src/testdir')
-rw-r--r--src/testdir/test_autocmd.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim
index c16a679da3..ab02402398 100644
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -2253,9 +2253,9 @@ func Test_autocmd_SafeState()
call WaitForAssert({-> assert_match('^xxxx', term_getline(buf, 6))}, 1000)
call term_sendkeys(buf, ":let g:again = ''\<CR>:call CallTimer()\<CR>")
- call term_wait(buf)
+ call term_wait(buf, 50)
call term_sendkeys(buf, ":\<CR>")
- call term_wait(buf)
+ call term_wait(buf, 50)
call term_sendkeys(buf, ":echo g:again\<CR>")
call WaitForAssert({-> assert_match('xtx', term_getline(buf, 6))}, 1000)