Page MenuHomePhabricator

[tests] Use FastRandomContext instead of boost::random::*
ClosedPublic

Authored by Fabien on Jun 10 2019, 12:08.

Details

Summary
Use FastRandomContext instead of
boost::random::{mt19937,uniform_int_distribution}.

Also include the fix from PR14093 fixing type mismatch (int truncated to
bool).

Backport of core PR10547 and PR14093
https://github.com/bitcoin/bitcoin/pull/10547/files
https://github.com/bitcoin/bitcoin/pull/14093/files

Test Plan
./src/test/test_bitcoin -t scheduler_tests

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien planned changes to this revision.Jun 10 2019, 12:28
This revision is now accepted and ready to land.Jun 10 2019, 16:45