mirror of
https://github.com/neovim/neovim.git
synced 2025-10-18 15:51:50 +00:00
test(rpc): retry flaky 'vim.rpcrequest and vim.rpcnotify' test (#30922)
Problem: 'vim.rpcrequest and vim.rpcnotify' is flaky on Windows.
Solution: retry it.
(cherry picked from commit 6fd13eedda
)
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
This commit is contained in:
![175700243+neovim-backports[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
GitHub

parent
84bbbd9fbe
commit
0b0385ea6a
@@ -1338,7 +1338,9 @@ describe('lua stdlib', function()
|
|||||||
]],
|
]],
|
||||||
}
|
}
|
||||||
feed('<cr>')
|
feed('<cr>')
|
||||||
|
retry(10, nil, function()
|
||||||
eq({ 3, NIL }, api.nvim_get_var('yy'))
|
eq({ 3, NIL }, api.nvim_get_var('yy'))
|
||||||
|
end)
|
||||||
|
|
||||||
exec_lua([[timer:close()]])
|
exec_lua([[timer:close()]])
|
||||||
end)
|
end)
|
||||||
|
Reference in New Issue
Block a user