Commit b2ab7379 authored by Andrejs Cunskis's avatar Andrejs Cunskis

Quarantine gitlab migration specs on staging

parent 532e33aa
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
RSpec.describe 'Manage', :requires_admin do RSpec.describe 'Manage', :requires_admin, quarantine: {
only: { subdomain: :staging },
type: :investigating,
issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/350965'
} do
describe 'Gitlab migration' do describe 'Gitlab migration' do
let(:import_wait_duration) { { max_duration: 300, sleep_interval: 2 } } let(:import_wait_duration) { { max_duration: 300, sleep_interval: 2 } }
let(:admin_api_client) { Runtime::API::Client.as_admin } let(:admin_api_client) { Runtime::API::Client.as_admin }
......
...@@ -4,11 +4,7 @@ require_relative 'gitlab_project_migration_common' ...@@ -4,11 +4,7 @@ require_relative 'gitlab_project_migration_common'
module QA module QA
RSpec.describe 'Manage', :requires_admin do RSpec.describe 'Manage', :requires_admin do
describe 'Gitlab migration', quarantine: { describe 'Gitlab migration' do
only: { job: 'praefect' },
type: :investigating,
issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/348999'
} do
include_context 'with gitlab project migration' include_context 'with gitlab project migration'
context 'with project issues' do context 'with project issues' do
......
...@@ -4,11 +4,7 @@ require_relative 'gitlab_project_migration_common' ...@@ -4,11 +4,7 @@ require_relative 'gitlab_project_migration_common'
module QA module QA
RSpec.describe 'Manage', :requires_admin do RSpec.describe 'Manage', :requires_admin do
describe 'Gitlab migration', quarantine: { describe 'Gitlab migration' do
only: { job: 'praefect' },
type: :investigating,
issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/348999'
} do
include_context 'with gitlab project migration' include_context 'with gitlab project migration'
context 'with merge request' do context 'with merge request' do
......
...@@ -4,11 +4,7 @@ require_relative 'gitlab_project_migration_common' ...@@ -4,11 +4,7 @@ require_relative 'gitlab_project_migration_common'
module QA module QA
RSpec.describe 'Manage', :requires_admin do RSpec.describe 'Manage', :requires_admin do
describe 'Gitlab migration', quarantine: { describe 'Gitlab migration' do
only: { job: 'praefect' },
type: :investigating,
issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/348999'
} do
include_context 'with gitlab project migration' include_context 'with gitlab project migration'
context 'with uninitialized project' do context 'with uninitialized project' do
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
RSpec.shared_context 'with gitlab project migration' do RSpec.shared_context 'with gitlab project migration', quarantine: {
only: { job: 'praefect', subdomain: :staging },
type: :investigating,
issue: [
'https://gitlab.com/gitlab-org/gitlab/-/issues/348999',
'https://gitlab.com/gitlab-org/gitlab/-/issues/350965'
]
} do
let(:source_project_with_readme) { false } let(:source_project_with_readme) { false }
let(:import_wait_duration) { { max_duration: 300, sleep_interval: 2 } } let(:import_wait_duration) { { max_duration: 300, sleep_interval: 2 } }
let(:admin_api_client) { Runtime::API::Client.as_admin } let(:admin_api_client) { Runtime::API::Client.as_admin }
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
RSpec.describe 'Manage', :requires_admin do RSpec.describe 'Manage', :requires_admin, quarantine: {
only: { subdomain: :staging },
type: :investigating,
issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/350965'
} do
describe 'Gitlab migration' do describe 'Gitlab migration' do
let(:admin_api_client) { Runtime::API::Client.as_admin } let(:admin_api_client) { Runtime::API::Client.as_admin }
let(:api_client) { Runtime::API::Client.new(user: user) } let(:api_client) { Runtime::API::Client.new(user: user) }
......
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