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
Mikolaï Krol
erp5
Commits
c0b3e80b
Commit
c0b3e80b
authored
Jun 12, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test
parent
9d2a444e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
erp5/util/taskdistribution/__init__.py
erp5/util/taskdistribution/__init__.py
+1
-1
erp5/util/testnode/ScalabilityTestRunner.py
erp5/util/testnode/ScalabilityTestRunner.py
+5
-2
No files found.
erp5/util/taskdistribution/__init__.py
View file @
c0b3e80b
...
@@ -464,7 +464,7 @@ class TaskDistributor(RPCRetry):
...
@@ -464,7 +464,7 @@ class TaskDistributor(RPCRetry):
def
generateConfiguration
(
self
,
test_suite_title
):
def
generateConfiguration
(
self
,
test_suite_title
):
"""
"""
Generates a config
g
uration from a test_suite_title
Generates a configuration from a test_suite_title
"""
"""
self
.
_retryRPC
(
'generateConfiguration'
,
(
test_suite_title
,))
self
.
_retryRPC
(
'generateConfiguration'
,
(
test_suite_title
,))
...
...
erp5/util/testnode/ScalabilityTestRunner.py
View file @
c0b3e80b
...
@@ -78,7 +78,8 @@ class ScalabilityTestRunner():
...
@@ -78,7 +78,8 @@ class ScalabilityTestRunner():
"""
"""
We will build slapos software needed by the testnode itself,
We will build slapos software needed by the testnode itself,
"""
"""
if
self
.
testnode
.
test_suite_portal
.
isValidatedMaster
(
self
.
testnode
.
config
[
'test_node_title'
]):
if
self
.
testnode
.
test_suite_portal
.
isValidatedMaster
(
self
.
testnode
.
config
[
'test_node_title'
]):
# software_path_list = []
# software_path_list = []
# software_path_list.append(self.testnode.config.get("software_list"))
# software_path_list.append(self.testnode.config.get("software_list"))
# for software_path in software_path_list:
# for software_path in software_path_list:
...
@@ -97,7 +98,9 @@ class ScalabilityTestRunner():
...
@@ -97,7 +98,9 @@ class ScalabilityTestRunner():
# softwares ipv6-url ( created during constructProfile(...) )
# softwares ipv6-url ( created during constructProfile(...) )
#software_path_list = _extractSoftwarePathList(software_path_list)
#software_path_list = _extractSoftwarePathList(software_path_list)
# TODO : extract software paths (ipv6+local suite path+password?) from node_test_suite
# TODO : extract software paths (ipv6+local suite path+password?) from node_test_suite
print
"...isValidatedMaster(..):"
print
self
.
testnode
.
test_suite_portal
.
isValidatedMaster
(
self
.
testnode
.
config
[
'test_node_title'
])
test_configuration
=
self
.
testnode
.
test_suite_portal
.
generateConfiguration
(
test_configuration
=
self
.
testnode
.
test_suite_portal
.
generateConfiguration
(
node_test_suite
.
test_suite_title
)
node_test_suite
.
test_suite_title
)
print
"test_configuration:"
print
"test_configuration:"
...
...
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