Commit a7219bb
committed
[FIX] bus: non deterministic subscription test
This commit fixes the `subscribe to presence channels according
to store data` test. Some of the websocket worker functions are
debounced meaning some old worker functions can be called after
the test ends. Since `_patchWebsocketWorker` with cleanup patches
the prototype of the worker, patches can be executed from old
workers which is an issue. This commit ensures only the actual
instance is patched.
fixes runbot-226354
closes odoo#216879
X-original-commit: 49060aa
Signed-off-by: Didier Debondt (did) <[email protected]>1 parent b3f66a2 commit a7219bb
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | 80 | | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments