diff options
| author | Christophe Monniez <moc@odoo.com> | 2018-10-26 11:26:18 +0200 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2018-10-26 11:26:18 +0200 |
| commit | 07b855fccf9bbbc12726da9dcd4a294cc998cd49 (patch) | |
| tree | 83a4dc182fdaa93763f4f1b7266044a3457ab846 | |
| parent | e6228402e75e1982b742d0fb51262dacfbd67a90 (diff) | |
[FIX] tests: remove chrome sandboxing
It appears that chrome headless with sandboxing is failing when running
containerized because it tries to use Linux namespaces.
With this commit, the no-sanbox optional arg is used to avoid this
issue.
Closes #26456
Closes #28053
| -rw-r--r-- | odoo/tests/common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/odoo/tests/common.py b/odoo/tests/common.py index 9ee1def1aac..b6c9a2e6156 100644 --- a/odoo/tests/common.py +++ b/odoo/tests/common.py @@ -423,7 +423,8 @@ class ChromeBrowser(): '--user-data-dir': self.user_data_dir, '--disable-translate': '', '--window-size': '1366x768', - '--remote-debugging-port': str(self.devtools_port) + '--remote-debugging-port': str(self.devtools_port), + '--no-sandbox': '', } cmd = [self.executable] cmd += ['%s=%s' % (k, v) if v else k for k, v in switches.items()] |
