Commit 6291bc8c authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'rs-warm-capybara-only-in-ci' into 'master'

Don't attempt to warm the Capybara cache outside of CI

See merge request !12761
parents 25d241ae 4144352a
...@@ -206,6 +206,7 @@ module TestEnv ...@@ -206,6 +206,7 @@ module TestEnv
# Otherwise they'd be created by the first test, often timing out and # Otherwise they'd be created by the first test, often timing out and
# causing a transient test failure # causing a transient test failure
def eager_load_driver_server def eager_load_driver_server
return unless ENV['CI']
return unless defined?(Capybara) return unless defined?(Capybara)
puts "Starting the Capybara driver server..." puts "Starting the Capybara driver server..."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment