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:
@@ -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*'
|
||||
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
5140,
|
||||
/**/
|
||||
5139,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user