mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test(rpc): retry flaky 'vim.rpcrequest and vim.rpcnotify' test
Problem: 'vim.rpcrequest and vim.rpcnotify' is flaky on Windows. Solution: retry it.
This commit is contained in:
parent
86832dcd19
commit
6fd13eedda
@ -1319,7 +1319,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)
|
||||
|
Loading…
Reference in New Issue
Block a user