Move quarantine tag to outer context

And user safe navigation operator for calling remove_via_api! on
@runner
parent baa0c3d7
# frozen_string_literal: true
module QA
context 'Monitor' do
describe 'with Prometheus Gitlab-managed cluster', :orchestrated, :kubernetes, :docker, quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/217247', type: :flaky } do
context 'Monitor', quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/217247', type: :flaky } do
describe 'with Prometheus Gitlab-managed cluster', :orchestrated, :kubernetes, :docker do
before :all do
@cluster = Service::KubernetesCluster.new.create!
Flow::Login.sign_in
......@@ -10,7 +10,7 @@ module QA
end
after :all do
@runner.remove_via_api!
@runner&.remove_via_api!
@cluster&.remove!
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