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
Amer
erp5
Commits
ad92f653
Commit
ad92f653
authored
Feb 07, 2013
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use less test suite per node to keep disk space
parent
4c2809ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/Document/ERP5ProjectUnitTestDistributor.py
product/ERP5/Document/ERP5ProjectUnitTestDistributor.py
+2
-2
No files found.
product/ERP5/Document/ERP5ProjectUnitTestDistributor.py
View file @
ad92f653
...
@@ -37,7 +37,7 @@ import string
...
@@ -37,7 +37,7 @@ import string
from
zLOG
import
LOG
,
INFO
,
ERROR
from
zLOG
import
LOG
,
INFO
,
ERROR
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type
import
Permissions
TEST_SUITE_MAX
=
4
TEST_SUITE_MAX
=
3
# Depending on the test suite priority, we will affect
# Depending on the test suite priority, we will affect
# more or less cores
# more or less cores
PRIORITY_MAPPING
=
{
PRIORITY_MAPPING
=
{
...
@@ -307,4 +307,4 @@ class ERP5ProjectUnitTestDistributor(XMLObject):
...
@@ -307,4 +307,4 @@ class ERP5ProjectUnitTestDistributor(XMLObject):
portal
=
self
.
getPortalObject
()
portal
=
self
.
getPortalObject
()
test_result
=
portal
.
unrestrictedTraverse
(
test_path
)
test_result
=
portal
.
unrestrictedTraverse
(
test_path
)
test_suite_title
=
test_result
.
getTitle
()
test_suite_title
=
test_result
.
getTitle
()
return
portal
.
portal_task_distribution_tool
.
stopUnitTest
(
self
,
test_path
,
status_dict
)
return
portal
.
portal_task_distribution_tool
.
stopUnitTest
(
self
,
test_path
,
status_dict
)
\ 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