changeset 29243:cdb22dde06b9 v8.2.5140

patch 8.2.5140: seachpair timeout test is flaky Commit: https://github.com/vim/vim/commit/73171ba4344e17484699d11c65d57fb1f4de572a Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 20 12:39:39 2022 +0100 patch 8.2.5140: seachpair timeout test is flaky Problem: Seachpair timeout test is flaky. Solution: Mark the test as flaky so it is retried.
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Jun 2022 13:45:03 +0200
parents 8095f317cb9c
children 95a64cfeb60f
files src/testdir/test_search.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_search.vim
+++ b/src/testdir/test_search.vim
@@ -333,6 +333,7 @@ endfunc
 
 func Test_searchpair_timeout()
   CheckFeature reltime
+  let g:test_is_flaky = 1
 
   func Waitabit()
     sleep 20m
@@ -1606,6 +1607,7 @@ func Test_search_errors()
 endfunc
 
 func Test_search_timeout()
+  let g:test_is_flaky = 1
   new
   " use a complicated pattern that should be slow with the BT engine
   let pattern = '\%#=1a*.*X\@<=b*'
--- a/src/version.c
+++ b/src/version.c
@@ -735,6 +735,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    5140,
+/**/
     5139,
 /**/
     5138,