comparison src/testdir/test_suspend.vim @ 31345:63065373330a v9.0.1006

patch 9.0.1006: suspend test still sometimes fails on MacOS Commit: https://github.com/vim/vim/commit/65214053f6a4bdb1099404a4b5dccb85ca3e5c7c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 4 23:30:19 2022 +0000 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.
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Dec 2022 00:45:03 +0100
parents 97bb0811cfd4
children 56a2af8c0980
comparison
equal deleted inserted replaced
31344:cd4aacedf415 31345:63065373330a
21 func Test_suspend() 21 func Test_suspend()
22 CheckFeature terminal 22 CheckFeature terminal
23 CheckExecutable /bin/sh 23 CheckExecutable /bin/sh
24 24
25 call WaitForResponses() 25 call WaitForResponses()
26 if has('mac')
27 " Mac OS machines tend to be slow, wait a bit longer
28 sleep 150m
29 endif
26 30
27 " in case a previous failure left a swap file behind 31 " in case a previous failure left a swap file behind
28 call delete('.Xfoo.swp') 32 call delete('.Xfoo.swp')
29 33
30 let buf = term_start('/bin/sh') 34 let buf = term_start('/bin/sh')
71 func Test_suspend_autocmd() 75 func Test_suspend_autocmd()
72 CheckFeature terminal 76 CheckFeature terminal
73 CheckExecutable /bin/sh 77 CheckExecutable /bin/sh
74 78
75 call WaitForResponses() 79 call WaitForResponses()
80 if has('mac')
81 " Mac OS machines tend to be slow, wait a bit longer
82 sleep 150m
83 endif
76 84
77 " in case a previous failure left a swap file behind 85 " in case a previous failure left a swap file behind
78 call delete('.Xfoo.swp') 86 call delete('.Xfoo.swp')
79 87
80 let buf = term_start('/bin/sh', #{term_rows: 6}) 88 let buf = term_start('/bin/sh', #{term_rows: 6})