[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:
@@ -707,7 +707,7 @@ class ChromeBrowser():
|
|||||||
if res and res.get('id') == ready_id:
|
if res and res.get('id') == ready_id:
|
||||||
if res.get('result') == awaited_result:
|
if res.get('result') == awaited_result:
|
||||||
if has_exceeded:
|
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
|
return True
|
||||||
else:
|
else:
|
||||||
last_bad_res = res
|
last_bad_res = res
|
||||||
|
|||||||
Reference in New Issue
Block a user