mirror of
https://github.com/neovim/neovim.git
synced 2026-05-04 04:55:16 +00:00
test: Mark unreliable test as pending in job_spec.lua
`job_send` is non-blocking and can potentially fail due to the following `job_stop` call. Since we can't reliably verify that the "exit" event is only sent after the "stdout" event, mark the test as pending and fix after we can get a notification about `job_send` status.
This commit is contained in:
@@ -97,7 +97,8 @@ describe('jobs', function()
|
||||
nvim('command', "call jobstart('xxx', 'cat', ['-'])")
|
||||
end)
|
||||
|
||||
it('will only emit the "exit" event after "stdout" and "stderr"', function()
|
||||
-- FIXME need to wait until jobsend succeeds before calling jobstop
|
||||
pending('will only emit the "exit" event after "stdout" and "stderr"', function()
|
||||
nvim('command', notify_job())
|
||||
nvim('command', "let j = jobstart('xxx', 'cat', ['-'])")
|
||||
local jobid = nvim('eval', 'j')
|
||||
|
||||
Reference in New Issue
Block a user