Skip to content

Commit ec7a4e4

Browse files
committed
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 <cb@256bit.org>
1 parent aae1bfb commit ec7a4e4

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/testdir/runtest.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,10 @@ func RunTheTest(test)
244244
echoconsole prefix .. 'Executing ' .. a:test
245245

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

src/version.c

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

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
1091,
707709
/**/
708710
1090,
709711
/**/

0 commit comments

Comments
 (0)