mirror of
https://github.com/neovim/neovim.git
synced 2026-07-30 04:18:02 +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:
@@ -73,7 +73,6 @@ describe('nvim_ui_attach()', function()
|
||||
end)
|
||||
|
||||
it('does not crash if maximum UI count is reached', function()
|
||||
t.skip(t.is_os('win'), 'n.connect() hangs on Windows')
|
||||
local server = api.nvim_get_vvar('servername')
|
||||
local screens = {} --- @type test.functional.ui.screen[]
|
||||
for i = 1, 16 do
|
||||
|
||||
Reference in New Issue
Block a user