diff src/testdir/test_search.vim @ 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 96ff6c230a66
children 4795d56a245b
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*'