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
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
francois
erp5
Commits
e9955ae1
Commit
e9955ae1
authored
Jun 12, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix client side taskdistribution missing returns
parent
c7051b51
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
erp5/util/taskdistribution/__init__.py
erp5/util/taskdistribution/__init__.py
+3
-3
erp5/util/testnode/testnode.py
erp5/util/testnode/testnode.py
+0
-5
No files found.
erp5/util/taskdistribution/__init__.py
View file @
e9955ae1
...
...
@@ -466,20 +466,20 @@ class TaskDistributor(RPCRetry):
"""
Generates a configuration from a test_suite_title
"""
self
.
_retryRPC
(
'generateConfiguration'
,
(
test_suite_title
,))
return
self
.
_retryRPC
(
'generateConfiguration'
,
(
test_suite_title
,))
def
isValidatedMaster
(
self
,
test_node_title
):
"""
Returns True or False if the testnode is the master
"""
self
.
_retryRPC
(
'isValidatedMaster'
,
(
test_node_title
,))
return
self
.
_retryRPC
(
'isValidatedMaster'
,
(
test_node_title
,))
def
getFooFooFoo
(
self
):
"""
Returns "FooFooFoo"
"""
self
.
_retryRPC
(
'getFooFooFoo'
)
return
self
.
_retryRPC
(
'getFooFooFoo'
)
class
DummyTaskDistributionTool
(
object
):
...
...
erp5/util/testnode/testnode.py
View file @
e9955ae1
...
...
@@ -336,11 +336,6 @@ branch = %(branch)s
self
.
test_suite_portal
=
taskdistribution
.
TaskDistributor
(
portal_url
,
logger
=
DummyLogger
(
log
))
self
.
test_suite_portal
.
subscribeNode
(
config
[
'test_node_title'
],
config
[
'computer_id'
])
print
deunicodeData
(
self
.
test_suite_portal
.
getFooFooFoo
())
time
.
sleep
(
12
)
test_suite_json
=
self
.
test_suite_portal
.
startTestSuite
(
config
[
'test_node_title'
])
test_suite_data
=
deunicodeData
(
json
.
loads
(
test_suite_json
))
log
(
"Got following test suite data from master : %r"
%
\
...
...
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