Skip to content
Snippets Groups Projects
user avatar
Romain Derie authored
As this race condition seems not possible to be reproduced in local, all this
is an assumption based on the logs.

After the checkout, the user is redirected to `/shop/confirmation` where there
is RPCs fired every seconds to fetch the payment status
(`/shop/payment/get_status`).

As the test was considered as finished on that page, sometimes the RPC would
still be processed in python while the tour was considered done and killed,
thus also the cookies, session & co.
From that point, the python would crash when accessing the session.
In the logs, the python crash in the RPC call occurs after the test is done.

closes odoo/odoo#44222

X-original-commit: bc11b1ec
Signed-off-by: default avatarRomain Derie <rdeodoo@users.noreply.github.com>
082c6600
History
Name Last commit Last update