Skip to content

Commit 04be7b4

Browse files
committed
tests: Increase timeout timer to 45 seconds by default
1 parent 727bb37 commit 04be7b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/testdir/runtest.vim

+2-2
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

0 commit comments

Comments
 (0)