test: Seed test RNG context for each test case, print seed

This commit is contained in:
MarcoFalke
2019-09-26 09:14:19 -04:00
parent ab765c2ec7
commit fae43a97ca
9 changed files with 46 additions and 15 deletions

View File

@@ -461,7 +461,7 @@ static std::vector<unsigned char> RandomData()
BOOST_AUTO_TEST_CASE(rolling_bloom)
{
SeedInsecureRand(/* deterministic */ true);
SeedInsecureRand(SeedRand::ZEROS);
g_mock_deterministic_tests = true;
// last-100-entry, 1% false positive: