aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-08-21 15:20:19 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-08-21 15:31:21 +0800
commit6f5ff5818abcfff4fce74f3972debc72704f8d49 (patch)
tree75a68222354f30e7bba0381b89738a37489990eb
parentcc35352f65f823259675f84a915ee03d2423913e (diff)
downloadrneovim-6f5ff5818abcfff4fce74f3972debc72704f8d49.tar.gz
rneovim-6f5ff5818abcfff4fce74f3972debc72704f8d49.tar.bz2
rneovim-6f5ff5818abcfff4fce74f3972debc72704f8d49.zip
vim-patch:8.1.2403: autocmd test fails under valgrind
Problem: Autocmd test fails under valgrind. Solution: Wait a bit longer. https://github.com/vim/vim/commit/3c47e8384de62dd67748454a853677e32ee7842c Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r--test/old/testdir/test_autocmd.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/old/testdir/test_autocmd.vim b/test/old/testdir/test_autocmd.vim
index 959efc0b49..3ac2b1fa5c 100644
--- a/test/old/testdir/test_autocmd.vim
+++ b/test/old/testdir/test_autocmd.vim
@@ -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)