mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test: lower sleep value in job test
Since sleep is a grandchild of nvim, it is not killed after the test ends. Using a low sleep value allows it to exit automatically after a small interval.
This commit is contained in:
parent
e85c9966b8
commit
9e42ef4e13
@ -304,7 +304,7 @@ describe('jobs', function()
|
||||
source([[
|
||||
call rpcnotify(g:channel, 'wait', jobwait([
|
||||
\ jobstart([&sh, '-c', 'exit 4']),
|
||||
\ jobstart([&sh, '-c', 'sleep 10000; exit 5']),
|
||||
\ jobstart([&sh, '-c', 'sleep 10; exit 5']),
|
||||
\ ], 100))
|
||||
]])
|
||||
eq({'notification', 'wait', {{4, -1}}}, next_msg())
|
||||
|
Loading…
Reference in New Issue
Block a user