Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9047b91d
Commit
9047b91d
authored
Nov 03, 2021
by
john.mcdonnell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensuring all gitaly nodes are running prior to e2e
parent
c882f0b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
qa/qa/specs/features/api/3_create/gitaly/distributed_reads_spec.rb
...cs/features/api/3_create/gitaly/distributed_reads_spec.rb
+7
-3
No files found.
qa/qa/specs/features/api/3_create/gitaly/distributed_reads_spec.rb
View file @
9047b91d
...
...
@@ -16,9 +16,15 @@ module QA
end
before
do
praefect_manager
.
start_all_nodes
praefect_manager
.
wait_for_replication
(
project
.
id
)
end
after
do
# Leave the cluster in a suitable state for subsequent tests
praefect_manager
.
start_all_nodes
end
it
'reads from each node'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1264'
do
pre_read_data
=
praefect_manager
.
query_read_distribution
...
...
@@ -42,9 +48,7 @@ module QA
after
do
# Leave the cluster in a suitable state for subsequent tests
praefect_manager
.
start_secondary_node
praefect_manager
.
wait_for_health_check_all_nodes
praefect_manager
.
wait_for_reliable_connection
praefect_manager
.
start_all_nodes
end
it
'does not read from the unhealthy node'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1263'
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment