patch 9.1.1908: tests: test_crash.vim times out in CI ASAN builds
Commit:
https://github.com/vim/vim/commit/89f0a3a5746d66706a2dae1e7e9ea065f5b0dcce
Author: Christian Brabandt <[email protected]>
Date: Tue Nov 11 18:06:31 2025 +0000
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: #18725
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/testdir/test_crash.vim b/src/testdir/test_crash.vim
index a26a1b8fd..01ae64fbd 100644
--- a/src/testdir/test_crash.vim
+++ b/src/testdir/test_crash.vim
@@ -6,7 +6,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()
diff --git a/src/version.c b/src/version.c
index 5578ccfc6..196996067 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1908,
/**/
1907,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vJWPO-001DOL-Tp%40256bit.org.