From: Bram Moolenaar Date: Fri, 15 Oct 2021 16:09:50 +0000 (+0100) Subject: patch 8.2.3514: autoread test with nano second time sometimes fails X-Git-Tag: v8.2.3514 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eaa006dae3d5730e3b6dead27905444998b2cf8e;p=vim 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. --- diff --git a/src/testdir/test_stat.vim b/src/testdir/test_stat.vim index 38ced6d37..fa61c5c06 100644 --- a/src/testdir/test_stat.vim +++ b/src/testdir/test_stat.vim @@ -97,16 +97,18 @@ endfunc func Test_autoread_fast() CheckFeature nanotime + " this is timing sensitive + let g:test_is_flaky = 1 + new Xautoread - set autoread + 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 diff --git a/src/version.c b/src/version.c index d6b4c8831..f7ebc702b 100644 --- a/src/version.c +++ b/src/version.c @@ -757,6 +757,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3514, /**/ 3513, /**/