We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 398d75a commit 668edf8Copy full SHA for 668edf8
spec/spec_helper.rb
@@ -2,8 +2,13 @@
2
require 'vimrunner/rspec'
3
4
Vimrunner::RSpec.configure do |config|
5
+ # Use a single Vim instance for the test suite. Set to false to use an
6
+ # instance per test (slower, but can be easier to manage).
7
# FIXME: reuse_server = true seems to hang after a certain number of test cases
- config.reuse_server = false
8
+ # - Travis CI hangs after 15 successful tests.
9
+ # - Locally it may hang also, with Vim and Xorg using 100% CPU.
10
+ # Therefore default to false in both cases.
11
+ config.reuse_server = ENV['CI'] ? false : false
12
13
config.start_vim do
14
vim = Vimrunner.start
0 commit comments