commit a80023c3f8ef85cc89ed8679d7f966b260a564cb
parent 82a088551f0fe63727e5efdd8073118494f3c7f1
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon, 10 Feb 2025 11:33:56 +0800
vim-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: vim/vim#16599
https://github.com/vim/vim/commit/ec7a4e4d69d17821292048bfa85801fcfa476228
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/old/testdir/runtest.vim b/test/old/testdir/runtest.vim
@@ -231,10 +231,10 @@ func RunTheTest(test)
echo 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