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
591946fc
Commit
591946fc
authored
Jun 22, 2018
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Geo secondary node API tests by waiting for services
parent
4e7d3451
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
qa/qa/ee/scenario/test/geo.rb
qa/qa/ee/scenario/test/geo.rb
+12
-3
No files found.
qa/qa/ee/scenario/test/geo.rb
View file @
591946fc
...
...
@@ -21,7 +21,10 @@ module QA
add_secondary_node
end
Geo
::
Secondary
.
act
{
replicate_database
}
Geo
::
Secondary
.
act
do
replicate_database
wait_for_services
end
end
Specs
::
Runner
.
perform
do
|
specs
|
...
...
@@ -101,10 +104,16 @@ module QA
gitlab_ctl
"replicate-geo-database --host=
#{
host
}
--slot-name=
#{
slot
}
"
\
"--sslmode=disable --no-wait --force"
,
input:
'echo mypass'
end
end
puts
'Waiting until secondary node services are restarted ...'
def
wait_for_services
puts
'Waiting until secondary node services are ready ...'
sleep
60
# Wait until services are restarted correctly
##
# TODO, wait until services are restarted correctly
# This needs to be fixed, see gitlab-org/gitlab-ee#6514
#
sleep
90
end
end
end
...
...
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