Make test updatecoins_simulation_test deterministic.
Can be verified using contrib/test_deterministic_coverage.sh introduced in #15296.
Related:
Make test updatecoins_simulation_test deterministic.
Can be verified using contrib/test_deterministic_coverage.sh introduced in #15296.
Related:
utACK f72aea270304808815757f523ef5867e53cd1b59
278 | @@ -279,6 +279,8 @@ UtxoData::iterator FindRandomFrom(const std::set<COutPoint> &utxoSet) { 279 | // has the expected effect (the other duplicate is overwritten at all cache levels) 280 | BOOST_AUTO_TEST_CASE(updatecoins_simulation_test) 281 | { 282 | + SeedInsecureRand(true);
nit: comment arg name?
@MarcoFalke Would you mind re-reviewing? It gets easier to tackle the hard non-determinism cases with the noise from these trivial cases out of the way :-)
I'd prefer to do make more than one test deterministic in its coverage, otherwise this will end up in a flood of pull requests. Unless of course one of the fixes is potentially too controversial (e.g. modifies validation code or other Core code)