vim-patch:8.1.2403: autocmd test fails under valgrind

Problem:    Autocmd test fails under valgrind.
Solution:   Wait a bit longer.

3c47e8384d

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq
2023-08-21 15:20:19 +08:00
parent cc35352f65
commit 6f5ff5818a

View File

@@ -2982,9 +2982,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)