summaryrefslogtreecommitdiff
path: root/qa/qa/runtime/namespace.rb
blob: 996286430b9805fc0ba31ebd61bf6184cc5e9641 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module QA
  module Runtime
    module Namespace
      extend self

      def time
        @time ||= Time.now
      end

      def name
        'qa_test_' + time.strftime('%d_%m_%Y_%H-%M-%S')
      end

      def sandbox_name
        'gitlab-qa-sandbox'
      end
    end
  end
end