Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
slapos.toolbox
Commits
1c8ba070
Commit
1c8ba070
authored
May 17, 2017
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resiliencytest: Restart haproxy and call startAllPartitions 2 times
In case haproxy were not working before.
parent
515140ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
slapos/resiliencytest/suites/erp5.py
slapos/resiliencytest/suites/erp5.py
+6
-2
No files found.
slapos/resiliencytest/suites/erp5.py
View file @
1c8ba070
...
...
@@ -98,10 +98,14 @@ class ERP5TestSuite(SlaprunnerTestSuite):
# Restart HAProxy
self
.
_connectToSlaprunner
(
resource
=
'/startStopProccess/name/slappart7:haproxy/cmd/
STOPPED
'
resource
=
'/startStopProccess/name/slappart7:haproxy/cmd/
RESTART
'
)
time
.
sleep
(
15
)
for
i
in
range
(
1
):
time
.
sleep
(
15
)
# In case erp5 bootstrap (in erp5-cluster) couldn't connect to zope through HAProxy
self
.
_connectToSlaprunner
(
'/startAllPartition'
)
def
_getCreatedERP5Document
(
self
):
""" Fetch and return content of ERP5 document created above."""
...
...
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