aboutsummaryrefslogtreecommitdiff
path: root/test/functional/provider/nodejs_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-04-18 19:58:05 +0200
committerGitHub <noreply@github.com>2018-04-18 19:58:05 +0200
commita1530ece87c329363b40ea92e71097b783ad5215 (patch)
tree44ef219ccf48b438daba99a29acae9c43deac4c9 /test/functional/provider/nodejs_spec.lua
parent7a13611ba2033766da8cad73f46362bd01632c2c (diff)
parent522443d6bfa155a71968e886cc7869c2d370cc47 (diff)
downloadrneovim-a1530ece87c329363b40ea92e71097b783ad5215.tar.gz
rneovim-a1530ece87c329363b40ea92e71097b783ad5215.tar.bz2
rneovim-a1530ece87c329363b40ea92e71097b783ad5215.zip
Merge #8293 from justinmk/test-nodejs
test: nodejs_spec: allow more time for nodejs init
Diffstat (limited to 'test/functional/provider/nodejs_spec.lua')
-rw-r--r--test/functional/provider/nodejs_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/provider/nodejs_spec.lua b/test/functional/provider/nodejs_spec.lua
index 0a12b1a154..d9af020bfe 100644
--- a/test/functional/provider/nodejs_spec.lua
+++ b/test/functional/provider/nodejs_spec.lua
@@ -35,7 +35,7 @@ describe('nodejs host', function()
nvim.command('call jobstop(g:job_id)');
]])
command('let g:job_id = jobstart(["node", "'..fname..'"])')
- retry(nil, 1000, function() eq('hello', eval('g:job_out')) end)
+ retry(nil, 2000, function() eq('hello', eval('g:job_out')) end)
end)
it('plugin works', function()
local fname = 'Xtest-nodejs-hello-plugin.js'
@@ -56,6 +56,6 @@ describe('nodejs host', function()
nvim.command('call jobstop(g:job_id)');
]])
command('let g:job_id = jobstart(["node", "'..fname..'"])')
- retry(nil, 1000, function() eq('hello-plugin', eval('g:job_out')) end)
+ retry(nil, 2000, function() eq('hello-plugin', eval('g:job_out')) end)
end)
end)