-
Notifications
You must be signed in to change notification settings - Fork 280
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
Increase test coverage for chain #629
Conversation
Pull Request Test Coverage Report for Build 1259118998
💛 - Coveralls |
06cf39d
to
02104ea
Compare
Added test for checkpoints. What we do is generate a chain with a variety of transactions (auctions, name claims, undependable outputs, etc) then add each block into a fresh chain object. The second time we do this, the fresh chain has a checkpoint just below the tip. Before rebasing on master branch which includes the checkpoints fix (#597) the test fails with this output:
Note that the failure is labeled! During the initial chain-generation process, we also build an array of strings that label every single block! If sync fails, the label for the failed block is looked up and printed in the error message ;-) |
02104ea
to
6b06372
Compare
I noticed CSV tests are duplicated in |
Other than these two, everything LGTM ! |
edec3f4
to
792a4ac
Compare
@nodech I cleaned up the nits you found and refactored the tests so all RPC tests are in the I also moved the CSV tests to a new file... for the old file the tests that check chain height and wallet balance. Well, you know those broke and you can probably guess how I fixed them 😬 |
166026a
to
fb6dadd
Compare
fb6dadd
to
62e5e19
Compare
TODO
with actual test for sigops limits