From 02760a30ce3448cab3a3a6b3b152fe409d0ef5e1 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 24 Jan 2026 08:19:24 +0800 Subject: [PATCH] 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 --- test/old/testdir/test_crash.vim | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/old/testdir/test_crash.vim b/test/old/testdir/test_crash.vim index 7808cbfba6..4e05efed9c 100644 --- 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) .. "'\") - call WaitForChildNotification() + if ValgrindOrAsan() + " test times out on ASAN CI builds + call WaitForChildNotification(10000) + else + call WaitForChildNotification() + endif endfunc func Test_crash1()