]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0430: tests: Test_shortmess_F3() is flaky on MS-Windows v9.2.0430
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Sat, 2 May 2026 15:20:18 +0000 (15:20 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 2 May 2026 15:20:18 +0000 (15:20 +0000)
commit2219c890136f4c809ca4fa64d357ae46442bfa92
tree597152a712ab210bb3e3d0b2cadc73a422ed46e4
parente25933014c1c7cc4fb40a6ed429b80fdb37ba28e
patch 9.2.0430: tests: Test_shortmess_F3() is flaky on MS-Windows

Problem:  tests: Test_shortmess_F3() is flaky on MS-Windows
Solution: Increase the sleep to 3s (Yasuhiro Matsumoto)

On MS-Windows time_differs() treats mtime as unchanged unless st_mtime
differs by more than 1 second, so a 2-second sleep can fall short when
the two writes straddle a second boundary. Bump the non-nanotime sleep
to 3 seconds.

closes: #20117

Signed-off-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_options.vim
src/version.c