patch 9.0.0425: autocmd test is a bit flaky on MS-Windows
Problem: Autocmd test is a bit flaky on MS-Windows.
Solution: Add a bit more sleeping. (Ken Takata, closes #11095)
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim
index 3370190..458ac38 100644
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -763,7 +763,7 @@
call writefile(content, 'Xvimrc', 'D')
call system(GetVimCommand('Xvimrc') .. ' --not-a-term --noplugins -S Session.vim -c cq')
- sleep 50m
+ sleep 100m
let errors = join(readfile('Xerrors'))
call assert_match('E814:', errors)
@@ -787,6 +787,7 @@
call writefile(content, 'XblastBall', 'D')
call system(GetVimCommand() .. ' --clean -S XblastBall')
+ sleep 100m
call assert_match('OK', readfile('Xerrors')->join())
call delete('Xerrors')
@@ -823,6 +824,7 @@
call writefile(content, 'Xvimrc', 'D')
call system(GetVimCommand('Xvimrc') .. ' --not-a-term --noplugins -S Session.vim -c cq')
+ sleep 100m
let errors = join(readfile('Xerrors'))
" This probably only ever matches on unix.
call assert_notmatch('Caught deadly signal SEGV', errors)