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
Xavier Thompson
erp5
Commits
9a1accb1
Commit
9a1accb1
authored
Sep 09, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testnode: ScalabilityTestRunner: Do not put error message when test is correctly finished
parent
5e9050d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
erp5/util/testnode/ScalabilityTestRunner.py
erp5/util/testnode/ScalabilityTestRunner.py
+7
-3
No files found.
erp5/util/testnode/ScalabilityTestRunner.py
View file @
9a1accb1
...
@@ -428,8 +428,12 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),))
...
@@ -428,8 +428,12 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),))
test_result_proxy
.
reportFailure
(
stdout
=
error_message
)
test_result_proxy
.
reportFailure
(
stdout
=
error_message
)
break
break
# Test cancelled or in an undeterminate state.
# Test cancelled
, finished
or in an undeterminate state.
if
not
test_result_proxy
.
isAlive
():
if
not
test_result_proxy
.
isAlive
():
# Test finished
if
count
==
len
(
configuration_list
):
break
# Cancelled or in an undeterminate state.
error_message
=
"Test cancelled or undeterminate state."
error_message
=
"Test cancelled or undeterminate state."
error
=
ValueError
(
error_message
)
error
=
ValueError
(
error_message
)
break
break
...
@@ -445,8 +449,8 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),))
...
@@ -445,8 +449,8 @@ late a SlapOS (positive) answer." %(str(os.getpid()),str(os.getpid()),))
if
error
:
if
error
:
test_result_proxy
.
fail
()
test_result_proxy
.
fail
()
raise
error
raise
error
#
else:
#
Test is finished.
#test_result_proxy.stop(
)
self
.
log
(
"Test finished."
)
return
{
'status_code'
:
0
}
return
{
'status_code'
:
0
}
def
_cleanUpOldInstance
(
self
):
def
_cleanUpOldInstance
(
self
):
...
...
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