Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
alecs_myu
erp5
Commits
7ae4559e
Commit
7ae4559e
authored
Jun 13, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
parent
a4681260
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
erp5/util/testnode/ScalabilityTestRunner.py
erp5/util/testnode/ScalabilityTestRunner.py
+2
-6
No files found.
erp5/util/testnode/ScalabilityTestRunner.py
View file @
7ae4559e
...
...
@@ -58,12 +58,9 @@ class ScalabilityTestRunner():
certificate
=
self
.
testnode
.
test_suite_portal
.
getSlaposAccountCertificate
()
self
.
slapos_controler
.
createSlaposConfigurationFileAccount
(
key
,
certificate
,
self
.
testnode
.
config
,
self
.
testnode
.
log
)
# {'COMPX' : ['soft_path1.cfg', 'soft_path2.cfg'],
# 'COMPY' : ['soft_path1.cfg'], ... }
self
.
remaining_software_installation_grid
=
{}
# Protection to prevent installation of softwares after checking
self
.
authorize_supply
=
True
# Used to simulate SlapOS answer (used as a queue)
self
.
last_slapos_answer
=
[]
...
...
@@ -95,8 +92,7 @@ class ScalabilityTestRunner():
# software_path_list.append(self.testnode.config.get("software_list"))
return
{
'status_code'
:
0
}
# For dummy slapos answer
# Press ctrl+c to simulate an (positive) answer from sapos master
# Dummy slapos answering
def
_getSignal
(
self
,
signal
,
frame
):
self
.
testnode
.
log
(
"Dummy SlapOS Master answer received."
)
self
.
last_slapos_answer
.
append
(
True
)
...
...
@@ -111,7 +107,7 @@ class ScalabilityTestRunner():
return
False
else
:
return
self
.
last_slapos_answer
.
pop
()
# /
For dummy slapos answer
# /
Dummy slapos answering
def
isSoftwareReleaseReady
(
self
,
software_url
,
computer_guid
):
"""
...
...
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