-
Notifications
You must be signed in to change notification settings - Fork 37.7k
tests: Make test updatecoins_simulation_test deterministic #15327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
utACK f72aea2 |
f72aea2
to
ef0b012
Compare
utACK ef0b012 |
@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) |
…erministic ef0b012 tests: Make updatecoins_simulation_test deterministic (practicalswift) Pull request description: Make test `updatecoins_simulation_test` deterministic. Can be verified using `contrib/test_deterministic_coverage.sh` introduced in bitcoin#15296. Related: * bitcoin#15296: "tests: Add script checking for deterministic line coverage in unit tests" * bitcoin#15324: "test: Make bloom tests deterministic" * bitcoin#14343: "coverage reports non-deterministic" Tree-SHA512: 3466e28a42dd3735effb8542044d88e8350a470729d4a4f02abce9d6367de6568d698131469ba154d3dc76d448bacb360b7aefd066bb5b91408c0be375dd3ecb
Summary: Backport of core [[bitcoin/bitcoin#15327 | PR15327]]. Test Plan: ninja check Reviewers: #bitcoin_abc, deadalnix Reviewed By: #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D6620
Summary: Backport of core [[bitcoin/bitcoin#15327 | PR15327]]. Test Plan: ninja check Reviewers: #bitcoin_abc, deadalnix Reviewed By: #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D6620
…erministic ef0b012 tests: Make updatecoins_simulation_test deterministic (practicalswift) Pull request description: Make test `updatecoins_simulation_test` deterministic. Can be verified using `contrib/test_deterministic_coverage.sh` introduced in bitcoin#15296. Related: * bitcoin#15296: "tests: Add script checking for deterministic line coverage in unit tests" * bitcoin#15324: "test: Make bloom tests deterministic" * bitcoin#14343: "coverage reports non-deterministic" Tree-SHA512: 3466e28a42dd3735effb8542044d88e8350a470729d4a4f02abce9d6367de6568d698131469ba154d3dc76d448bacb360b7aefd066bb5b91408c0be375dd3ecb
…erministic ef0b012 tests: Make updatecoins_simulation_test deterministic (practicalswift) Pull request description: Make test `updatecoins_simulation_test` deterministic. Can be verified using `contrib/test_deterministic_coverage.sh` introduced in bitcoin#15296. Related: * bitcoin#15296: "tests: Add script checking for deterministic line coverage in unit tests" * bitcoin#15324: "test: Make bloom tests deterministic" * bitcoin#14343: "coverage reports non-deterministic" Tree-SHA512: 3466e28a42dd3735effb8542044d88e8350a470729d4a4f02abce9d6367de6568d698131469ba154d3dc76d448bacb360b7aefd066bb5b91408c0be375dd3ecb
…erministic ef0b012 tests: Make updatecoins_simulation_test deterministic (practicalswift) Pull request description: Make test `updatecoins_simulation_test` deterministic. Can be verified using `contrib/test_deterministic_coverage.sh` introduced in bitcoin#15296. Related: * bitcoin#15296: "tests: Add script checking for deterministic line coverage in unit tests" * bitcoin#15324: "test: Make bloom tests deterministic" * bitcoin#14343: "coverage reports non-deterministic" Tree-SHA512: 3466e28a42dd3735effb8542044d88e8350a470729d4a4f02abce9d6367de6568d698131469ba154d3dc76d448bacb360b7aefd066bb5b91408c0be375dd3ecb
…erministic ef0b012 tests: Make updatecoins_simulation_test deterministic (practicalswift) Pull request description: Make test `updatecoins_simulation_test` deterministic. Can be verified using `contrib/test_deterministic_coverage.sh` introduced in bitcoin#15296. Related: * bitcoin#15296: "tests: Add script checking for deterministic line coverage in unit tests" * bitcoin#15324: "test: Make bloom tests deterministic" * bitcoin#14343: "coverage reports non-deterministic" Tree-SHA512: 3466e28a42dd3735effb8542044d88e8350a470729d4a4f02abce9d6367de6568d698131469ba154d3dc76d448bacb360b7aefd066bb5b91408c0be375dd3ecb
Make test
updatecoins_simulation_test
deterministic.Can be verified using
contrib/test_deterministic_coverage.sh
introduced in #15296.Related: