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
Amer
erp5
Commits
4f37b09f
Commit
4f37b09f
authored
Jun 12, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix dict word names
parent
8c2df4a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
erp5/util/testnode/ScalabilityTestRunner.py
erp5/util/testnode/ScalabilityTestRunner.py
+11
-11
No files found.
erp5/util/testnode/ScalabilityTestRunner.py
View file @
4f37b09f
...
...
@@ -111,7 +111,7 @@ class ScalabilityTestRunner():
node_test_suite
.
test_suite_title
)))
print
"test_configuration:"
print
test_configuration
self
.
involved_nodes
=
test_configuration
[
'involved_nodes
'
]
self
.
involved_nodes
_computer_guid
=
test_configuration
[
'involved_nodes_computer_guid
'
]
self
.
launchable
=
test_configuration
[
'launchable'
]
self
.
error_message
=
test_configuration
[
'error_message'
]
...
...
@@ -122,28 +122,28 @@ the current cluster configuration." %(node_test_suite.test_suite_title,))
# wich code to return ?
return
{
'status_code'
:
1
}
involved_nodes
=
test_configuration
[
'involved_nodes
'
]
involved_nodes
_computer_guid
=
test_configuration
[
'involved_nodes_computer_guid
'
]
configuration_list
=
test_configuration
[
'configuration_list'
]
launcher_nodes
=
test_configuration
[
'launcher_nodes
'
]
launcher_nodes
_computer_guid
=
test_configuration
[
'launcher_nodes_computer_guid
'
]
print
"lau
cher_nodes
:"
print
launcher_nodes
print
"involved_nodes:"
print
involved_nodes
print
"lau
ncher_nodes_computer_guid
:"
print
launcher_nodes
_computer_guid
print
"involved_nodes
_computer_guid
:"
print
involved_nodes
_computer_guid
print
"configuration_list:"
print
configuration_list
software_path_list
=
[]
for
software_path
in
software_path_list
:
for
involved_node
in
self
.
involved_nodes
:
self
.
_prepareSlapOS
(
software_path
,
involved_node
[
'computer_id'
]
)
for
computer_guid
in
self
.
involved_nodes_computer_guid
:
self
.
_prepareSlapOS
(
software_path
,
computer_guid
)
# TODO : change the line below
return
{
'status_code'
:
0
}
def
_cleanUpNodesInformation
(
self
):
self
.
worker_nodes
=
[]
self
.
launcher_nodes
=
[]
self
.
involved_nodes_computer_guid
=
[]
self
.
launcher_nodes
_computer_guid
=
[]
def
_generateConfigurationList
(
self
,
test_suite
):
# TODO : implement it
...
...
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