]> granicus.if.org Git - vim/commitdiff
patch 8.2.5140: seachpair timeout test is flaky v8.2.5140
authorBram Moolenaar <Bram@vim.org>
Mon, 20 Jun 2022 11:39:39 +0000 (12:39 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 20 Jun 2022 11:39:39 +0000 (12:39 +0100)
Problem:    Seachpair timeout test is flaky.
Solution:   Mark the test as flaky so it is retried.

src/testdir/test_search.vim
src/version.c

index 67d29c5d46b6b01b96b40dc7f810df190a043a36..794dd1d01e0dd342cd5f3343ceeb4da9b2509bbe 100644 (file)
@@ -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*'
index 370c4d06f3623c4b7c01bffe8b0ac404e7488987..5b5b405fe228cfdedd05c0218f6d2f361a90d153 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    5140,
 /**/
     5139,
 /**/