diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-09 15:08:10 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-09 15:08:10 +0100 |
commit | ae04a6049b3f0e30a671966ed2dda1979e0b5f20 (patch) | |
tree | 416df6ba64ebc75e1861d64e05c1d9e5659c3fbb /src/testdir/test_autocmd.vim | |
parent | 7d56cfc861e57145f003315efd835cf5dfd5b145 (diff) |
patch 9.0.0425: autocmd test is a bit flaky on MS-Windowsv9.0.0425
Problem: Autocmd test is a bit flaky on MS-Windows.
Solution: Add a bit more sleeping. (Ken Takata, closes #11095)
Diffstat (limited to 'src/testdir/test_autocmd.vim')
-rw-r--r-- | src/testdir/test_autocmd.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim index 3370190960..458ac38f47 100644 --- a/src/testdir/test_autocmd.vim +++ b/src/testdir/test_autocmd.vim @@ -763,7 +763,7 @@ func Test_autocmd_bufwipe_in_SessLoadPost() 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 @@ func Test_autocmd_blast_badd() 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 @@ func Test_autocmd_bufwipe_in_SessLoadPost2() 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) |