patch 8.1.2403: autocmd test fails under valgrind
Problem: Autocmd test fails under valgrind.
Solution: Wait a bit longer.
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim
index c16a679..ab02402 100644
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -2253,9 +2253,9 @@
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)