]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1938: tests: excessive wait in Test_matchfuzzy_initialized v9.1.1938
authorCorey Hickey <bugfood-c@fatooh.org>
Sun, 30 Nov 2025 15:07:40 +0000 (15:07 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 30 Nov 2025 15:07:40 +0000 (15:07 +0000)
commitd4f9de889bb155052dabbe17ea4d552068824456
tree988cabfd11b9a263f439347bb56e77e7cdd7cea9
parenta3925d783af75eff0ddc99f2ee8e4ca57b5909cd
patch 9.1.1938: tests: excessive wait in Test_matchfuzzy_initialized

Problem:  tests: excessive wait in Test_matchfuzzy_initialized
Solution: Use term_wait() instead of the TermWait() wrapper
          (Corey Hickey)

Test_matchfuzzy_initialized is a terminal test, which are specified to be
"flaky" and automatically retried. The TermWait wrapper multiplies the
specified wait time by higher values for later retries, maxing out at
10x the specified value. This makes tries #3 to #6 sleep for 20 seconds
each, which makes the test very slow to work with. The specified intent
of the test (as noted in a comment eight lines above here) is to
sleep for 2s.

closes: #18822

Signed-off-by: Corey Hickey <bugfood-c@fatooh.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_matchfuzzy.vim
src/version.c