You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
testutils: fix determinism in random predecessor history tests
Previously, the `rng` instance used by the tests was initialized once
in the `var` block. That meant that every assertion that relied on
that rng was order-dependent: running a single test in that file in
isolation would lead to failed assertions.
This commit ensures that every test resets the rng before making any
assertions, guaranteeing we get the same values regardless of
execution order.
Epic: none
Release note: None
0 commit comments