Commit 49e538d0 authored by Dan Davison's avatar Dan Davison

Merge branch 'qa-grid-empty-check' into 'master'

Let QA_REMOTE_GRID be nil or empty string

See merge request gitlab-org/gitlab-ce!24468
parents a98e7b99 8637696c
......@@ -63,7 +63,7 @@ module QA
# - "https://user:pass@somehost.com:443/wd/hub"
# - "http://localhost:4444/wd/hub"
return unless ENV['QA_REMOTE_GRID']
return if (ENV['QA_REMOTE_GRID'] || '').empty?
"#{remote_grid_protocol}://#{remote_grid_credentials}#{ENV['QA_REMOTE_GRID']}/wd/hub"
end
......
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