]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.5147: flaky test always fails on retry v8.2.5147
authorBram Moolenaar <Bram@vim.org>
Tue, 21 Jun 2022 21:35:40 +0000 (22:35 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 21 Jun 2022 21:35:40 +0000 (22:35 +0100)
Problem:    Flaky test always fails on retry.
Solution:   Delete the created function.

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

index 794dd1d01e0dd342cd5f3343ceeb4da9b2509bbe..5422b33f6a704740ac57a9e095729c0b186e60aa 100644 (file)
@@ -353,6 +353,7 @@ func Test_searchpair_timeout()
   let elapsed = reltime(starttime)->reltimefloat()
   call assert_inrange(0.09, 0.300, elapsed)
 
+  delfunc Waitabit
   bwipe!
 endfunc
 
index 4530f8d5e28be76c5cfa0679f1516ad57f1b7126..35024fb59405f95126904d21ad238c866718cb11 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    5147,
 /**/
     5146,
 /**/