Problem: Autoread test with nano second time sometimes fails.
Solution: Mark the test as being flaky.
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
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 3514,
/**/
3513,
/**/