summaryrefslogtreecommitdiff
path: root/test/test_command_chain.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-03-27 13:46:48 +0100
committerw0rp <devw0rp@gmail.com>2017-03-27 13:46:48 +0100
commita1be697a028eada1af023c48d326456e4afdf104 (patch)
treef7a28ffb722a64179ffba1b3547f29b81ce1c59d /test/test_command_chain.vader
parentcd82740ade722089981495bc454300e40ac8f00d (diff)
downloadale-a1be697a028eada1af023c48d326456e4afdf104.zip
Add a pause for the command chain test
Diffstat (limited to 'test/test_command_chain.vader')
-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'