Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
Hamza
erp5-Boxiang
Commits
1b38497b
Commit
1b38497b
authored
Sep 11, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testnode: use reportFailure():w in place of fail()
parent
edb63e2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
erp5/util/taskdistribution/__init__.py
erp5/util/taskdistribution/__init__.py
+0
-6
erp5/util/testnode/ScalabilityTestRunner.py
erp5/util/testnode/ScalabilityTestRunner.py
+1
-1
No files found.
erp5/util/taskdistribution/__init__.py
View file @
1b38497b
...
...
@@ -369,12 +369,6 @@ class TestResultProxy(RPCRetry):
"""
return
self
.
_retryRPC
(
'stopTest'
,
[
self
.
_test_result_path
])
def
fail
(
self
):
"""
"""
return
self
.
_retryRPC
(
'failTest'
,
[
self
.
_test_result_path
])
class
TestResultProxyProxy
(
TestResultProxy
):
"""
A wrapper/proxy to TestResultProxy
...
...
erp5/util/testnode/ScalabilityTestRunner.py
View file @
1b38497b
...
...
@@ -455,7 +455,7 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),))
# If error appears then that's a test failure.
if
error_message
:
test_result_proxy
.
fail
(
)
test_result_proxy
.
reportFailure
(
stdout
=
error_message
)
self
.
log
(
"Test Failed."
)
return
{
'status_code'
:
1
,
'error_message'
:
error_message
}
# Test is finished.
...
...
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