summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Briscoe <idbrii@gmail.com>2018-04-03 03:30:51 -0700
committerAdam Stankiewicz <sheerun@sher.pl>2018-04-03 12:30:51 +0200
commitcab6866e21341cab7419cdb4ae1fd18437d31bb0 (patch)
treea049f6f2fbfc9540b6523fa5e58069fa8f890dc8
parent96c5c20e418fa95b7137b6ef418946f25de91b1b (diff)
downloadvim-polyglot-cab6866e21341cab7419cdb4ae1fd18437d31bb0.tar.gz
vim-polyglot-cab6866e21341cab7419cdb4ae1fd18437d31bb0.zip
Increase test file parsing timeout (#288)
There's been several PRs that inexplicably failed tests. PR #279 (applescript) failed with "should parse test.em file" despite the exact same PR #286 passing (I've removed one of them, sorry again about that). PR #268 (pandoc) failed with "parse test.erb file" but doesn't mess with eruby. PR #281 (readme) failed with "should parse test.jsx file" but it's a one word change to the readme! My assumption is that vim startup on Travis is near the edge of the timeout so we're getting false failures. (I'm not familiar with Vimrunner or rspec, but I assume this code is just testing that vim doesn't throw errors one edit and automatically exits at the end of the block.)
Diffstat (limited to '')
-rw-r--r--spec/loading_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/loading_spec.rb b/spec/loading_spec.rb
index 265ba828..14fbd64c 100644
--- a/spec/loading_spec.rb
+++ b/spec/loading_spec.rb
@@ -11,7 +11,7 @@ describe "My Vim plugin" do
extensions.each do |ext|
it "should parse #{ext} file" do
- Timeout::timeout(5) do
+ Timeout::timeout(15) do
write_file "#{ext}", ""
vim.edit "#{ext}"
vim.insert "sample"