diff src/testdir/test_autocmd.vim @ 18832:b3eb5102447a v8.1.2403

patch 8.1.2403: autocmd test fails under valgrind Commit: https://github.com/vim/vim/commit/3c47e8384de62dd67748454a853677e32ee7842c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 7 17:05:31 2019 +0100 patch 8.1.2403: autocmd test fails under valgrind Problem: Autocmd test fails under valgrind. Solution: Wait a bit longer.
author Bram Moolenaar <Bram@vim.org>
date Sat, 07 Dec 2019 17:15:04 +0100
parents 068337e86133
children 45eb6f37692e
line wrap: on
line diff
--- 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)