summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-19 23:09:20 +0000
committerw0rp <devw0rp@gmail.com>2017-11-19 23:09:20 +0000
commit0cb8130d0e65d9a239c43ddb21d2f89b2815f10d (patch)
tree725ff05e04fc3bf4d524e566ff41cc66aef5bf2e /test
parentcc04a7aaa030de9e030728b86c0428de9cbb112c (diff)
downloadale-0cb8130d0e65d9a239c43ddb21d2f89b2815f10d.zip
Stop the completion tests from failing randomly
Diffstat (limited to 'test')
-rw-r--r--test/test_completion.vader4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_completion.vader b/test/test_completion.vader
index 18e50f5b..3dfc2056 100644
--- a/test/test_completion.vader
+++ b/test/test_completion.vader
@@ -41,6 +41,10 @@ After:
delfunction CheckCompletionCalled
+ " Stop any timers we left behind.
+ " This stops the tests from failing randomly.
+ call ale#completion#StopTimer()
+
runtime autoload/ale/completion.vim
runtime autoload/ale/lsp.vim