runbot/runbot/models
Christophe Monniez a3da5cad04
[IMP] runbot: increase cpu_limit
When the Odoo instances are spawned for tests, they have a time limit
set on their CPU usage. This limit is hard-coded in the _spawn method
calls.

As the number of tests are increasing, their duration increases too.
As this limit is inherited by subprocesses, if a phantomjs test
last too long, the test is killed alone.

Finally, when the coverage is enabled, the tests duration is
approximately increased of 1.5 times.

With this commit, the cpu_limit of the two main tests jobs are
increased. When the coverage is used, the cpu_limit is increased.

Closes: #23
2018-06-11 17:58:29 +02:00
..
__init__.py [REF] runbot, runbot_cla: upgrade to Odoo 11.0 2018-03-12 14:36:33 +01:00
branch.py [IMP] runbot: add coverage result on builds 2018-05-28 09:40:01 +02:00
build.py [IMP] runbot: increase cpu_limit 2018-06-11 17:58:29 +02:00
event.py [REF] runbot, runbot_cla: upgrade to Odoo 11.0 2018-03-12 14:36:33 +01:00
repo.py [IMP] runbot: kill older builds when a new one is created 2018-06-06 16:31:33 +02:00
res_config_settings.py [REF] runbot, runbot_cla: upgrade to Odoo 11.0 2018-03-12 14:36:33 +01:00