summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test_command_chain.vader2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_command_chain.vader b/test/test_command_chain.vader
index 96c07e71..7b5e83ca 100644
--- a/test/test_command_chain.vader
+++ b/test/test_command_chain.vader
@@ -55,6 +55,8 @@ Given foobar (Some imaginary filetype):
Execute(Check the results of running the chain):
AssertEqual 'foobar', &filetype
call ale#Lint()
+ " Sleep a little. This allows the commands to complete a little better.
+ sleep 50m
call ale#engine#WaitForJobs(2000)
Assert g:first_echo_called, 'The first chain item was not called'