Commit d5dfd781 authored by Mark Lapierre's avatar Mark Lapierre

Merge branch 'ml-include-repo-move-test' into 'master'

Include Gitaly to Gitaly Cluster repo move test

Closes gitlab-org/quality/testcases#837

See merge request gitlab-org/gitlab!35823
parents 2b12d49b a148ccd6
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
module QA module QA
context 'Create' do context 'Create' do
describe 'Changing Gitaly repository storage', :orchestrated, :requires_admin do describe 'Changing Gitaly repository storage', :requires_admin do
shared_examples 'repository storage move' do shared_examples 'repository storage move' do
it 'confirms a `finished` status after moving project repository storage' do it 'confirms a `finished` status after moving project repository storage' do
expect(project).to have_file('README.md') expect(project).to have_file('README.md')
...@@ -24,7 +24,7 @@ module QA ...@@ -24,7 +24,7 @@ module QA
end end
end end
context 'when moving from one Gitaly storage to another', :repository_storage do context 'when moving from one Gitaly storage to another', :orchestrated, :repository_storage do
let(:project) do let(:project) do
Resource::Project.fabricate_via_api! do |project| Resource::Project.fabricate_via_api! do |project|
project.name = 'repo-storage-move-status' project.name = 'repo-storage-move-status'
...@@ -36,6 +36,8 @@ module QA ...@@ -36,6 +36,8 @@ module QA
it_behaves_like 'repository storage move' it_behaves_like 'repository storage move'
end end
# Note: This test doesn't have the :orchestrated tag because it runs in the Test::Integration::Praefect
# scenario with other tests that aren't considered orchestrated.
context 'when moving from Gitaly to Gitaly Cluster', :requires_praefect do context 'when moving from Gitaly to Gitaly Cluster', :requires_praefect do
let(:project) do let(:project) do
Resource::Project.fabricate_via_api! do |project| Resource::Project.fabricate_via_api! do |project|
......
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