mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07: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>')
|
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()]])
|
exec_lua([[timer:close()]])
|
||||||
end)
|
end)
|
||||||
|
Loading…
Reference in New Issue
Block a user