summaryrefslogtreecommitdiff
path: root/qa/qa/runtime/namespace.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/runtime/namespace.rb')
-rw-r--r--qa/qa/runtime/namespace.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/runtime/namespace.rb b/qa/qa/runtime/namespace.rb
index 9d7c1aea508..26b83074c7f 100644
--- a/qa/qa/runtime/namespace.rb
+++ b/qa/qa/runtime/namespace.rb
@@ -10,7 +10,7 @@ module QA
def name
# 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)}"
+ @name ||= Runtime::Env.namespace_name || "qa-test-#{time.strftime("%Y-%m-%d-%H-%M-%S")}-#{SecureRandom.hex(8)}"
end
def path
@@ -18,7 +18,7 @@ module QA
end
def sandbox_name
- Runtime::Env.sandbox_name || 'gitlab-qa-sandbox-group'
+ Runtime::Env.sandbox_name || "gitlab-qa-sandbox-group"
end
end
end