Skip to content
Snippets Groups Projects
Commit 6291bc8c authored by Rémy Coutable's avatar Rémy Coutable
Browse files

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
No related branches found
No related tags found
No related merge requests found
Loading
@@ -206,6 +206,7 @@ module TestEnv
Loading
@@ -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..."
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment