[FIX] core: change ready code warning into info

In JS tests, when the ready code takes too much time, a warning is
logged. As a consequence, the runbot updates the github status as a
failure, causing real pain to people who simply wants to merge their
features.

With this commit the warning is changed into an info and the runbot will
be happy.

closes odoo/odoo#33931

Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
This commit is contained in:
Christophe Monniez
2019-06-06 07:43:58 +00:00
parent 9813ee4eb8
commit f167ae7d6e
+1 -1
View File
@@ -707,7 +707,7 @@ class ChromeBrowser():
if res and res.get('id') == ready_id:
if res.get('result') == awaited_result:
if has_exceeded:
self._logger.warning('The ready code tooks too much time : %s', tdiff)
self._logger.info('The ready code tooks too much time : %s', tdiff)
return True
else:
last_bad_res = res