diff options
| author | Christophe Monniez <moc@odoo.com> | 2019-06-17 07:37:10 +0000 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2019-06-17 08:33:10 +0000 |
| commit | 38cc2952356d123a03b1a5e248fc0f3668badc30 (patch) | |
| tree | 6827ac094ad7537a4c7c601d7f365a9b0c6e0126 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 979b2de459982088da3639d190b19e303453d5a4 (diff) | |
[FIX] core: catch error when removing chrome profile
For a not yet known reason, a race condition appeared during HttpCase
tests that use ChromeBrowser. When the test is finished, failed or not,
the Chrome broser instance is terminated and the temporary profile
directory is removed. Sometimes, a file is still written in the profile
dir during the shutil.rmtree processing, when it tries to remove
directories that should be empty, causing a traceback.
With this commit, the error is simply ignored.
As on the runbot, tests are run in Docker containers, it's not harmful
to keep a directory.
closes odoo/odoo#34168
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
