Skip to content

Commit 89f0a3a

Browse files
committed
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]>
1 parent f85951f commit 89f0a3a

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

src/testdir/test_crash.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ CheckScreendump
66
" Run the command in terminal and wait for it to complete via notification
77
func s:RunCommandAndWait(buf, cmd)
88
call term_sendkeys(a:buf, a:cmd .. "; printf '" .. TermNotifyParentCmd(v:false) .. "'\<cr>")
9-
call WaitForChildNotification()
9+
if ValgrindOrAsan()
10+
" test times out on ASAN CI builds
11+
call WaitForChildNotification(10000)
12+
else
13+
call WaitForChildNotification()
14+
endif
1015
endfunc
1116

1217
func Test_crash1()

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,8 @@ static char *(features[]) =
729729

730730
static int included_patches[] =
731731
{ /* Add new patch number below this line */
732+
/**/
733+
1908,
732734
/**/
733735
1907,
734736
/**/

0 commit comments

Comments
 (0)