diff --git a/tests/query_spec.lua b/tests/query_spec.lua index 2cc9e04..8444b7b 100644 --- a/tests/query_spec.lua +++ b/tests/query_spec.lua @@ -44,7 +44,7 @@ end local function async_get(command) child.lua([[require('nio').run(function() vim.b.result = ]] .. command .. [[ end)]]) - vim.uv.sleep(5) + vim.uv.sleep(20) return child.b.result end diff --git a/tests/runspec_spec.lua b/tests/runspec_spec.lua index bab9aab..5cf4d7a 100644 --- a/tests/runspec_spec.lua +++ b/tests/runspec_spec.lua @@ -22,7 +22,7 @@ T["get_package()"] = new_set() local function async_get(command) child.lua([[require('nio').run(function() vim.b.result = ]] .. command .. [[ end)]]) - vim.uv.sleep(5) + vim.uv.sleep(20) return child.b.result end