diff options
| author | Christophe Monniez <moc@odoo.com> | 2020-02-13 20:57:57 +0000 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2020-02-20 16:53:33 +0000 |
| commit | 253d5341a4e2d19d2cb9bad6bb1b1986f52dd66f (patch) | |
| tree | 274b5d7dcd6242c10167ec6890fdf6d9e6561e62 /odoo/modules/module.py | |
| parent | 426fc163bac0aa76fa231d1253e966dea8aca39d (diff) | |
[FIX] tests: remove memory limit for chrome headless
Since Chrome version 80, the V8 javascript engine is using an new
pointer compression feature [1]. This features tries to reserve more the
4GiB of memory. As a consequence, during HttpCase tests, odoo tries to
launch chrome headless in a subprocess but fails because of the
memory-limit-soft.
With this commit, the Chrome browser is spawned in a forked process
that removes the memory limit.
Also a new Chrome CLI switch is used to prevent crash reports to be sent
to google.
[1] https://v8.dev/blog/v8-release-80
closes odoo/odoo#45859
X-original-commit: 726d9c50720c2d3c9e617e998ed0dcd12272a271
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'odoo/modules/module.py')
0 files changed, 0 insertions, 0 deletions
