Commit 9c7363db authored by Mark Lapierre's avatar Mark Lapierre

Merge branch 'tn-quality-add_id_to_group_name' into 'master'

Added id to namespace name generator

See merge request gitlab-org/gitlab-ce!25285
parents b0006630 999a0eca
...@@ -8,7 +8,9 @@ module QA ...@@ -8,7 +8,9 @@ module QA
end end
def name def name
Runtime::Env.namespace_name || "qa-test-#{time.strftime('%Y-%m-%d-%H-%M-%S')}" # If any changes are made to the name tag, following script has to be considered:
# https://ops.gitlab.net/gitlab-com/gl-infra/traffic-generator/blob/master/bin/janitor.bash
@name ||= Runtime::Env.namespace_name || "qa-test-#{time.strftime('%Y-%m-%d-%H-%M-%S')}-#{SecureRandom.hex(8)}"
end end
def path def path
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
module QA module QA
# Failure issue: https://gitlab.com/gitlab-org/quality/staging/issues/31 # Failure issue: https://gitlab.com/gitlab-org/quality/staging/issues/31
context 'Create', :quarantine do context 'Create' do
describe 'Merge request squashing' do describe 'Merge request squashing' do
it 'user squashes commits while merging' do it 'user squashes commits while merging' do
Runtime::Browser.visit(:gitlab, Page::Main::Login) Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
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