0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 8.2.3514: autoread test with nano second time sometimes fails

Problem:    Autoread test with nano second time sometimes fails.
Solution:   Mark the test as being flaky.
This commit is contained in:
Bram Moolenaar
2021-10-15 17:09:50 +01:00
parent a2cff1dbc9
commit eaa006dae3
2 changed files with 8 additions and 4 deletions

View File

@@ -97,16 +97,18 @@ endfunc
func Test_autoread_fast()
CheckFeature nanotime
new Xautoread
set autoread
call setline(1, 'foo')
" 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

View File

@@ -757,6 +757,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3514,
/**/
3513,
/**/