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
Matevz Golob
erp5
Commits
24c177de
Commit
24c177de
authored
Sep 06, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_test_result: ERP5ScalabilityDistributor: Fix missing batch mode and docs.
parent
b58b6ea4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
bt5/erp5_test_result/DocumentTemplateItem/ERP5ScalabilityDistributor.py
...result/DocumentTemplateItem/ERP5ScalabilityDistributor.py
+4
-2
bt5/erp5_test_result/bt/revision
bt5/erp5_test_result/bt/revision
+1
-1
No files found.
bt5/erp5_test_result/DocumentTemplateItem/ERP5ScalabilityDistributor.py
View file @
24c177de
...
@@ -255,9 +255,11 @@ class ERP5ScalabilityDistributor(ERP5ProjectUnitTestDistributor):
...
@@ -255,9 +255,11 @@ class ERP5ScalabilityDistributor(ERP5ProjectUnitTestDistributor):
return
next_test
return
next_test
return
json
.
dumps
(
next_test
)
return
json
.
dumps
(
next_test
)
security
.
declarePublic
(
"isTestCaseAlive"
)
security
.
declarePublic
(
"isTestCaseAlive"
)
def
isTestCaseAlive
(
self
,
test_result_line_path
):
def
isTestCaseAlive
(
self
,
test_result_line_path
,
batch_mode
=
0
):
"""
Is a test result line alive or not.
"""
portal
=
self
.
getPortalObject
()
portal
=
self
.
getPortalObject
()
test_result_line
=
portal
.
restrictedTraverse
(
test_result_line_path
)
test_result_line
=
portal
.
restrictedTraverse
(
test_result_line_path
)
return
test_result_line
.
getSimulationState
()
==
"started"
return
test_result_line
.
getSimulationState
()
==
"started"
\ No newline at end of file
bt5/erp5_test_result/bt/revision
View file @
24c177de
272
273
\ No newline at end of file
\ No newline at end of file
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