1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2022-06-20 12:39:39 +01:00
parent 300d718819
commit 73171ba434
2 changed files with 4 additions and 0 deletions

View File

@@ -333,6 +333,7 @@ endfunc
func Test_searchpair_timeout() func Test_searchpair_timeout()
CheckFeature reltime CheckFeature reltime
let g:test_is_flaky = 1
func Waitabit() func Waitabit()
sleep 20m sleep 20m
@@ -1606,6 +1607,7 @@ func Test_search_errors()
endfunc endfunc
func Test_search_timeout() func Test_search_timeout()
let g:test_is_flaky = 1
new new
" use a complicated pattern that should be slow with the BT engine " use a complicated pattern that should be slow with the BT engine
let pattern = '\%#=1a*.*X\@<=b*' let pattern = '\%#=1a*.*X\@<=b*'

View File

@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
5140,
/**/ /**/
5139, 5139,
/**/ /**/