Skip to content

Commit ae04a60

Browse files
committed
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)
1 parent 7d56cfc commit ae04a60

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/testdir/test_autocmd.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ func Test_autocmd_bufwipe_in_SessLoadPost()
763763

764764
call writefile(content, 'Xvimrc', 'D')
765765
call system(GetVimCommand('Xvimrc') .. ' --not-a-term --noplugins -S Session.vim -c cq')
766-
sleep 50m
766+
sleep 100m
767767
let errors = join(readfile('Xerrors'))
768768
call assert_match('E814:', errors)
769769

@@ -787,6 +787,7 @@ func Test_autocmd_blast_badd()
787787

788788
call writefile(content, 'XblastBall', 'D')
789789
call system(GetVimCommand() .. ' --clean -S XblastBall')
790+
sleep 100m
790791
call assert_match('OK', readfile('Xerrors')->join())
791792

792793
call delete('Xerrors')
@@ -823,6 +824,7 @@ func Test_autocmd_bufwipe_in_SessLoadPost2()
823824

824825
call writefile(content, 'Xvimrc', 'D')
825826
call system(GetVimCommand('Xvimrc') .. ' --not-a-term --noplugins -S Session.vim -c cq')
827+
sleep 100m
826828
let errors = join(readfile('Xerrors'))
827829
" This probably only ever matches on unix.
828830
call assert_notmatch('Caught deadly signal SEGV', errors)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,8 @@ static char *(features[]) =
703703

704704
static int included_patches[] =
705705
{ /* Add new patch number below this line */
706+
/**/
707+
425,
706708
/**/
707709
424,
708710
/**/

0 commit comments

Comments
 (0)