Commit ad92f653 authored by Sebastien Robin's avatar Sebastien Robin

use less test suite per node to keep disk space

parent 4c2809ad
...@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment