aboutsummaryrefslogtreecommitdiff
path: root/src/test/streams_tests.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-09-26 09:14:19 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-10-09 11:20:12 -0400
commitfae43a97ca947cd0802392e9bb86d9d0572c0fba (patch)
treeef72f69f145352b6c0a0a03cc5401711321e1e1b /src/test/streams_tests.cpp
parentab765c2ec7db042142298cdd6ca9c2f04cca8598 (diff)
downloadbitcoin-fae43a97ca947cd0802392e9bb86d9d0572c0fba.tar.xz
test: Seed test RNG context for each test case, print seed
Diffstat (limited to 'src/test/streams_tests.cpp')
-rw-r--r--src/test/streams_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/streams_tests.cpp b/src/test/streams_tests.cpp
index 638819d564..83903ca112 100644
--- a/src/test/streams_tests.cpp
+++ b/src/test/streams_tests.cpp
@@ -339,7 +339,7 @@ BOOST_AUTO_TEST_CASE(streams_buffered_file)
BOOST_AUTO_TEST_CASE(streams_buffered_file_rand)
{
// Make this test deterministic.
- SeedInsecureRand(true);
+ SeedInsecureRand(SeedRand::ZEROS);
for (int rep = 0; rep < 50; ++rep) {
FILE* file = fsbridge::fopen("streams_test_tmp", "w+b");