Class: Gitlab::QA::Scenario::Test::Instance::Geo

Inherits:
Gitlab::QA::Scenario::Template show all
Defined in:
lib/gitlab/qa/scenario/test/instance/geo.rb

Overview

Run Geo test suite against any GitLab Geo (two-node) instance, including staging and on-premises installation.

Instance Method Summary collapse

Methods inherited from Gitlab::QA::Scenario::Template

perform

Instance Method Details

#perform(release, primary_address, secondary_address, *rspec_args) ⇒ Object



10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/gitlab/qa/scenario/test/instance/geo.rb', line 10

def perform(release, primary_address, secondary_address, *rspec_args)
  Component::Specs.perform do |specs|
    specs.suite = 'QA::EE::Scenario::Test::Geo'
    specs.release = QA::Release.new(release)
    specs.args = [
      '--primary-address', primary_address,
      '--secondary-address', secondary_address,
      '--without-setup',
      *rspec_args
    ]
  end
end