diff --git a/test/functional/lua/vim_spec.lua b/test/functional/lua/vim_spec.lua index ccb45a9d26..cba6c89c16 100644 --- a/test/functional/lua/vim_spec.lua +++ b/test/functional/lua/vim_spec.lua @@ -1319,7 +1319,9 @@ describe('lua stdlib', function() ]], } feed('') - 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)