diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-07-16 13:30:45 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-07-16 23:10:01 -0300 |
commit | 9e42ef4e1312fb6888d2691e9d979b95dd43ec94 (patch) | |
tree | fbcf0f1829bbd238e9298518d3c9207945732629 | |
parent | e85c9966b8b5011e8eda1aef20d00d74d6eec581 (diff) | |
download | rneovim-9e42ef4e1312fb6888d2691e9d979b95dd43ec94.tar.gz rneovim-9e42ef4e1312fb6888d2691e9d979b95dd43ec94.tar.bz2 rneovim-9e42ef4e1312fb6888d2691e9d979b95dd43ec94.zip |
test: lower sleep value in job test
Since sleep is a grandchild of nvim, it is not killed after the test ends.
Using a low sleep value allows it to exit automatically after a small interval.
-rw-r--r-- | test/functional/job/job_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/job/job_spec.lua b/test/functional/job/job_spec.lua index b60f9ff7a4..7085d61cc7 100644 --- a/test/functional/job/job_spec.lua +++ b/test/functional/job/job_spec.lua @@ -304,7 +304,7 @@ describe('jobs', function() source([[ call rpcnotify(g:channel, 'wait', jobwait([ \ jobstart([&sh, '-c', 'exit 4']), - \ jobstart([&sh, '-c', 'sleep 10000; exit 5']), + \ jobstart([&sh, '-c', 'sleep 10; exit 5']), \ ], 100)) ]]) eq({'notification', 'wait', {{4, -1}}}, next_msg()) |