mirror of
https://github.com/neovim/neovim.git
synced 2026-08-25 16:41:52 +00:00
test: wait for uv.pipe_connect() callback (#37640)
Problem: On Windows, writing to a pipe doesn't work if the pipe isn't connected yet. This causes an RPC request to a session newly created by connect() to hang, as it's waiting for a response to a request that never reaches the server. Solution: Wait for uv.pipe_connect() callback to be called when using connect().
This commit is contained in:
committed by
github-actions[bot]
parent
ddd7494ff9
commit
8fc81bc9e9
@@ -284,7 +284,6 @@ describe('--embed UI', function()
|
||||
end)
|
||||
|
||||
it('closing stdio with another remote UI does not leak memory #36392', function()
|
||||
t.skip(t.is_os('win'), 'n.connect() hangs on Windows')
|
||||
clear({ args_rm = { '--headless' } })
|
||||
Screen.new()
|
||||
eq(1, #api.nvim_list_uis())
|
||||
@@ -299,7 +298,6 @@ end)
|
||||
|
||||
describe('--embed --listen UI', function()
|
||||
it('waits for connection on listening address', function()
|
||||
t.skip(t.is_os('win'))
|
||||
clear()
|
||||
local child_server = assert(n.new_pipename())
|
||||
fn.jobstart({
|
||||
|
||||
Reference in New Issue
Block a user