Skip to content

Commit 6521405

Browse files
committed
patch 9.0.1006: suspend test still sometimes fails on MacOS
Problem: Suspend test still sometimes fails on MacOS. Solution: Wait a little while for terminal responses.
1 parent d0f8d39 commit 6521405

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

src/testdir/test_suspend.vim

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ func Test_suspend()
2323
CheckExecutable /bin/sh
2424

2525
call WaitForResponses()
26+
if has('mac')
27+
" Mac OS machines tend to be slow, wait a bit longer
28+
sleep 150m
29+
endif
2630

2731
" in case a previous failure left a swap file behind
2832
call delete('.Xfoo.swp')
@@ -73,6 +77,10 @@ func Test_suspend_autocmd()
7377
CheckExecutable /bin/sh
7478

7579
call WaitForResponses()
80+
if has('mac')
81+
" Mac OS machines tend to be slow, wait a bit longer
82+
sleep 150m
83+
endif
7684

7785
" in case a previous failure left a swap file behind
7886
call delete('.Xfoo.swp')

src/version.c

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

696696
static int included_patches[] =
697697
{ /* Add new patch number below this line */
698+
/**/
699+
1006,
698700
/**/
699701
1005,
700702
/**/

0 commit comments

Comments
 (0)