]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1091: tests: timeout might be a bit too small v9.1.1091
authorChristian Brabandt <cb@256bit.org>
Sun, 9 Feb 2025 16:16:36 +0000 (17:16 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 9 Feb 2025 16:16:36 +0000 (17:16 +0100)
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>
src/testdir/runtest.vim
src/version.c

index 6fc0dcc669987f4f3d1a71cd26997984905590c4..429e75095f2c2d2ec6a6cedf70c9cc96ed1e4db1 100644 (file)
@@ -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
 
index 580f82a0b6b4d05bcadb7808ca341808512f3458..040620222c767a0e71db65e3178ec37ecf24f189 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1091,
 /**/
     1090,
 /**/