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.
diff --git a/src/testdir/test_suspend.vim b/src/testdir/test_suspend.vim
index ebefdd0..c96a1a6 100644
--- a/src/testdir/test_suspend.vim
+++ b/src/testdir/test_suspend.vim
@@ -23,6 +23,10 @@
CheckExecutable /bin/sh
call WaitForResponses()
+ if has('mac')
+ " Mac OS machines tend to be slow, wait a bit longer
+ sleep 150m
+ endif
" in case a previous failure left a swap file behind
call delete('.Xfoo.swp')
@@ -73,6 +77,10 @@
CheckExecutable /bin/sh
call WaitForResponses()
+ if has('mac')
+ " Mac OS machines tend to be slow, wait a bit longer
+ sleep 150m
+ endif
" in case a previous failure left a swap file behind
call delete('.Xfoo.swp')