Dont even ask who failed to pass these elsewhere...
Add more data-driven tests. #3601
pull TheBlueMatt wants to merge 1 commits into bitcoin:master from TheBlueMatt:master changing 2 files +34 −2-
TheBlueMatt commented at 8:54 AM on January 30, 2014: member
-
Add more data-driven tests. c32a486f4b
-
BitcoinPullTester commented at 9:13 AM on January 30, 2014: none
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/c32a486f4b2253900749acd0d42efae3319b98ed for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
- laanwj referenced this in commit 39d4eee96e on Jan 30, 2014
- laanwj merged this on Jan 30, 2014
- laanwj closed this on Jan 30, 2014
-
jgarzik commented at 2:38 PM on January 30, 2014: contributor
Was this discussed in IRC and ACK'd there? No objections to the PR content, but "add tests" is something that needs review and multiple ACKs like anything else... Otherwise we risk setting in stone unreviewed behavior. These tests are copied into other, non-bitcoind projects as canonical reference tests, so it is critical to make sure these remain correct.
-
TheBlueMatt commented at 2:45 PM on January 30, 2014: member
if you can represent the behavior using valid scripts, then, whether it's expected behavior or not, it defines the protocol. (The obvious exception being some script behavior which represents a potential security risk, which, I would, hope would not be submitted in a pull request)
-
sipa commented at 3:04 PM on January 30, 2014: member
Ideally, this sort of test should be verified to succeed in multiple (including old) releases. If they do (and the test checks something that is network-visible behaviour), it is clearly a network rule (even if the behaviour is unintentional) and it should be something that other implementations verify. If they don't, we likely have a big problem already.
-
laanwj commented at 3:13 PM on January 30, 2014: member
Ok, I thought adding more tests cannot hurt.
Revert this for now?
-
TheBlueMatt commented at 3:15 PM on January 30, 2014: member
-
sipa commented at 3:20 PM on January 30, 2014: member
Posthumous ACK. No need to revert this.
- sidhujag referenced this in commit 3b19368a47 on Jul 20, 2020
- DrahtBot locked this on Sep 8, 2021