mirror of
https://github.com/neovim/neovim.git
synced 2026-08-26 17:11:48 +00:00
fix(channel): possible hang after connecting with TCP times out (#37813)
Problem: Possible hang after connecting with TCP times out. Solution: Wait for the close callback to arrive.
This commit is contained in:
committed by
github-actions[bot]
parent
3a94763124
commit
7281cf883e
@@ -475,7 +475,6 @@ describe('channels', function()
|
||||
end)
|
||||
|
||||
it('in "tcp" mode', function()
|
||||
skip(not is_os('linux'), 'FIXME: hangs on non-Linux')
|
||||
eq(
|
||||
'Vim:connection failed: connection refused',
|
||||
pcall_err(fn.sockconnect, 'tcp', '127.0.0.1:0')
|
||||
|
||||
Reference in New Issue
Block a user