Commit: patch 9.1.1091: tests: timeout might be a bit too small

1 view
Skip to first unread message

Christian Brabandt

unread,
Feb 9, 2025, 11:30:16 AM2/9/25
to vim...@googlegroups.com
patch 9.1.1091: tests: timeout might be a bit too small

Commit: https://github.com/vim/vim/commit/ec7a4e4d69d17821292048bfa85801fcfa476228
Author: Christian Brabandt <c...@256bit.org>
Date: Sun Feb 9 17:16:36 2025 +0100

patch 9.1.1091: tests: timeout might be a bit too small

Problem: tests: timeout might be a bit too small
Solution: increase the test timeout from 30 to 45 seconds

related: #16599

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim
index 6fc0dcc66..429e75095 100644
--- a/src/testdir/runtest.vim
+++ b/src/testdir/runtest.vim
@@ -244,10 +244,10 @@ func RunTheTest(test)
echoconsole prefix .. 'Executing ' .. a:test

if has('timers')
- " No test should take longer than 30 seconds. If it takes longer we
+ " No test should take longer than 45 seconds. If it takes longer we
" assume we are stuck and need to break out.
let test_timeout_timer =
- \ timer_start(RunningWithValgrind() ? 50000 : 30000, 'TestTimeout')
+ \ timer_start(RunningWithValgrind() ? 90000 : 45000, 'TestTimeout')
let g:timeout_start = localtime()
endif

diff --git a/src/version.c b/src/version.c
index 580f82a0b..040620222 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1091,
/**/
1090,
/**/
Reply all
Reply to author
Forward
0 new messages