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
cc0aa77a
Commit
cc0aa77a
authored
Feb 18, 2020
by
Ash McKenzie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue a gitlab-ctl stop before replicating DB
parent
4833bc80
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
qa/qa/ee/scenario/test/geo.rb
qa/qa/ee/scenario/test/geo.rb
+14
-0
No files found.
qa/qa/ee/scenario/test/geo.rb
View file @
cc0aa77a
...
...
@@ -116,6 +116,20 @@ module QA
QA
::
Service
::
Omnibus
.
new
(
@name
).
act
do
require
'uri'
# At this stage of the workflow, the 'geo-logcursor' service will
# be 'flapping' because the Secondary DB has not been replicated
# and is known to timeout when a `gitlab-ctl stop` is issued
# (it is called as part of the `replicate-geo-database`
# command).
#
# The timeout occurs because it can take longer than 60 secs for
# 'geo-logcursor' to stop, which is the maximum length of time
# runit will wait before deeming the service to 'timeout' and
# then returns a non-zero exit code.
#
# Let's always ensure we return a zero exit code here.
gitlab_ctl
"stop || true"
host
=
URI
(
QA
::
Runtime
::
Scenario
.
geo_primary_address
).
host
slot
=
QA
::
Runtime
::
Scenario
.
geo_primary_name
.
tr
(
'-'
,
'_'
)
...
...
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