Patch 8.2.3514
Problem:    Autoread test with nano second time sometimes fails.
Solution:   Mark the test as being flaky.
Files:      src/testdir/test_stat.vim


*** ../vim-8.2.3513/src/testdir/test_stat.vim   2021-10-15 00:37:56.677890792 
+0100
--- src/testdir/test_stat.vim   2021-10-15 17:08:10.793831727 +0100
***************
*** 97,112 ****
  func Test_autoread_fast()
    CheckFeature nanotime
  
    new Xautoread
!   set autoread
    call setline(1, 'foo')
- 
    w!
    silent !echo bar > Xautoread
    sleep 10m
    checktime
- 
    call assert_equal('bar', trim(getline(1)))
    call delete('Xautoread')
  endfunc
  
--- 97,114 ----
  func Test_autoread_fast()
    CheckFeature nanotime
  
+   " this is timing sensitive
+   let g:test_is_flaky = 1
+ 
    new Xautoread
!   setlocal autoread
    call setline(1, 'foo')
    w!
    silent !echo bar > Xautoread
    sleep 10m
    checktime
    call assert_equal('bar', trim(getline(1)))
+ 
    call delete('Xautoread')
  endfunc
  
*** ../vim-8.2.3513/src/version.c       2021-10-15 12:51:25.279073103 +0100
--- src/version.c       2021-10-15 17:09:31.907073294 +0100
***************
*** 759,760 ****
--- 759,762 ----
  {   /* Add new patch number below this line */
+ /**/
+     3514,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
160. You get in the elevator and double-click the button for the floor
     you want.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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 on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211015161149.5AD16C80053%40moolenaar.net.

Raspunde prin e-mail lui