diff options
| author | Christophe Monniez <moc@odoo.com> | 2020-08-20 12:32:27 +0000 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2020-08-21 08:59:25 +0000 |
| commit | 5dbabad0a168efb19ef4f39aac4464034f5bcb0a (patch) | |
| tree | 89ba893691c71a0269eb2a2de2cf3a00cf923d86 /odoo/addons/test_new_api/security | |
| parent | c7c6ac47f8f3172c9eee03754f5483ec95083f17 (diff) | |
[FIX] packaging: stop docker container when odoo fails
When the Odoo installation is tested, if the test fails an error is
raised but the Docker container is not stopped.
As a result, a ghost container stays alive with a Postgres server
running. Worse, if another package is built on the same host, the
ghost container prevent the other build to succeed.
With this commit, a specific Exception is raised and the container is
stopped in any case.
closes odoo/odoo#56270
X-original-commit: fbe2092d37af02276a49e335538d8caff3a15e7d
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'odoo/addons/test_new_api/security')
0 files changed, 0 insertions, 0 deletions
