diff --git a/openerp/tests/common.py b/openerp/tests/common.py index e881959a31b..1d9841692e7 100644 --- a/openerp/tests/common.py +++ b/openerp/tests/common.py @@ -229,6 +229,7 @@ class HttpCase(TransactionCase): # kill phantomjs if phantom.exit() wasn't called in the test if phantom.poll() is None: phantom.terminate() + phantom.wait() self._wait_remaining_requests() _logger.info("phantom_run execution finished")