summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2020-10-14 13:38:28 +0000
committerXavier Morel <xmo@odoo.com>2020-10-14 15:47:13 +0000
commitce953a898f32ba571518c097bd0914eea9275b71 (patch)
tree291242c8eb75db564a66c6c1e599dd8863aec953 /doc/reference/javascript_reference.rst
parentdad5e2a575448b68cc1b59880fecfe48dbe30a4e (diff)
[IMP] core: make post-install tests deterministic
`registry._init_modules` is a set so its iteration order is non-deterministic (it's randomised on interpreter initialisation unless PYTHONHASHSEED is provide through the environment). This can lead to annoying non-deterministic behavior: while the non-determinism is only at the module level, it's easy enough for modules to have python-level side-effects (e.g. patch methods, update globals, ...), which may only be surfaced by an other module executing after them, but not if said module executes before. By sorting the modules we should make this much more reliable one way or another. closes odoo/odoo#60023 X-original-commit: f9169a468a2328a691ec4f32233ba3bad3622282 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions