patch 9.2.0430: tests: Test_shortmess_F3() is flaky on MS-Windows

Commit: 
https://github.com/vim/vim/commit/2219c890136f4c809ca4fa64d357ae46442bfa92
Author: Yasuhiro Matsumoto <[email protected]>
Date:   Sat May 2 15:20:18 2026 +0000

    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 <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim
index bbca7fe46..fa2667525 100644
--- a/src/testdir/test_options.vim
+++ b/src/testdir/test_options.vim
@@ -1450,7 +1450,7 @@ func Test_shortmess_F3()
   if has('nanotime')
     sleep 10m
   else
-    sleep 2
+    sleep 3
   endif
   call writefile(['bar'], 'X_dummy')
   bprev
@@ -1460,7 +1460,7 @@ func Test_shortmess_F3()
   if has('nanotime')
     sleep 10m
   else
-    sleep 2
+    sleep 3
   endif
   call writefile(['baz'], 'X_dummy')
   checktime
diff --git a/src/version.c b/src/version.c
index 95d93bb21..0ce32fb2e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    430,
 /**/
     429,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1wJCIC-002ETh-06%40256bit.org.

Raspunde prin e-mail lui