summaryrefslogtreecommitdiff
path: root/qa/qa/specs/features/api/12_systems/gitaly/distributed_reads_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/specs/features/api/12_systems/gitaly/distributed_reads_spec.rb')
-rw-r--r--qa/qa/specs/features/api/12_systems/gitaly/distributed_reads_spec.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/qa/qa/specs/features/api/12_systems/gitaly/distributed_reads_spec.rb b/qa/qa/specs/features/api/12_systems/gitaly/distributed_reads_spec.rb
index 397fdb909ac..60ce2a65fd1 100644
--- a/qa/qa/specs/features/api/12_systems/gitaly/distributed_reads_spec.rb
+++ b/qa/qa/specs/features/api/12_systems/gitaly/distributed_reads_spec.rb
@@ -36,20 +36,16 @@ module QA
context 'when a node is unhealthy' do
before do
- praefect_manager.stop_secondary_node
+ praefect_manager.stop_node(praefect_manager.secondary_node)
end
after do
# Leave the cluster in a suitable state for subsequent tests
- praefect_manager.start_secondary_node
+ praefect_manager.start_node(praefect_manager.secondary_node)
end
it 'does not read from the unhealthy node',
- testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347834',
- quarantine: {
- issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/378174',
- type: :flaky
- } do
+ testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347834' do
pre_read_data = praefect_manager.query_read_distribution
read_from_project(project, number_of_reads_per_loop * 10)