commit 02760a30ce3448cab3a3a6b3b152fe409d0ef5e1
parent 73f2286f08caa52537523515c27a3070218fc164
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat, 24 Jan 2026 08:19:24 +0800
vim-patch:9.1.1908: tests: test_crash.vim times out in CI ASAN builds
Problem: tests: test_crash.vim times out in CI ASAN builds
Solution: Increase timeout for ASAN or Valgrind runs
closes: vim/vim#18725
https://github.com/vim/vim/commit/89f0a3a5746d66706a2dae1e7e9ea065f5b0dcce
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/test/old/testdir/test_crash.vim b/test/old/testdir/test_crash.vim
@@ -7,7 +7,12 @@ CheckScreendump
" Run the command in terminal and wait for it to complete via notification
func s:RunCommandAndWait(buf, cmd)
call term_sendkeys(a:buf, a:cmd .. "; printf '" .. TermNotifyParentCmd(v:false) .. "'\<cr>")
- call WaitForChildNotification()
+ if ValgrindOrAsan()
+ " test times out on ASAN CI builds
+ call WaitForChildNotification(10000)
+ else
+ call WaitForChildNotification()
+ endif
endfunc
func Test_crash1()