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

89f0a3a574

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2026-01-24 08:19:24 +08:00
parent 73f2286f08
commit 02760a30ce

View File

@@ -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()