mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +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:
committed by
GitHub
parent
84bbbd9fbe
commit
0b0385ea6a
@ -1338,7 +1338,9 @@ describe('lua stdlib', function()
|
||||
]],
|
||||
}
|
||||
feed('<cr>')
|
||||
eq({ 3, NIL }, api.nvim_get_var('yy'))
|
||||
retry(10, nil, function()
|
||||
eq({ 3, NIL }, api.nvim_get_var('yy'))
|
||||
end)
|
||||
|
||||
exec_lua([[timer:close()]])
|
||||
end)
|
||||
|
Reference in New Issue
Block a user