[FW][FIX] discuss: prevent call public page test race condition
Before this commit, it was possible that a bus message containing a mail.message.rtc.session record update reached the client before the response to the /mail/rtc/channel/join_call route.
Since the condition for the test step is that there is a call (triggered by the presence of a rtc session) while the condition for the error thrown is that there is no selfSession (which is obtained as the response of the http request), one condition could be satisfied without the other.
Forward-Port-Of: odoo/odoo#182716
@thanhdodeurodoo this PR targets master and is the last of the forward-port chain.
To merge the full chain, use
@robodoo r+
More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port
@thanhdodeurodoo this forward port of odoo/odoo#182716 is awaiting action (not merged or closed).
@thanhdodeurodoo this forward port of odoo/odoo#182716 is awaiting action (not merged or closed).
@robodoo r+
