-
Notifications
You must be signed in to change notification settings - Fork 70
Generalizing test_framework to allow utreexod in integration tests #452
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
Generalizing test_framework to allow utreexod in integration tests #452
Conversation
5efc59b to
59c9793
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First of all: this is a pretty impressive work! Our test infrastructure is getting incredibly powerful and robust.
I'm leaving some minor code review comments here. I'll test it locally and report back
59c9793 to
f363ed8
Compare
|
Need some rebasing, i will try resolve conflicts here |
a405bcb to
88e88e2
Compare
|
Rebased on top of #446 but the clippy broked |
Fix vinteumorg#449 This commit generalize the the test_framework on sub-libraries to allow this and future implementations, for different daemons and JSONRPCs: * simplified import of test_framework by renaming tests/test_framework/test_framework.py to tests/test_framework/__init__.py; * codebase for daemons (base-daemon, florestad-daemon, utreexod-daemon); * codebase for json-rpc (base-rpc, floresta-rpc, utreexo-rpc); * codebase for client (base-client, electrum-client).
* floresta JSONRpc (functional); * integrated floresta's electrum (functional); * original utreexo implementation (functional/integration); * utreexo/floresta JSONRpc(s) (integration).
* restart test; * ssl test; * ssl failure test.
88e88e2 to
f56c5c1
Compare
* addnode; * getblock; * getblockchaininfo; * getblockhash; * getblockheader; * getmemoryinfo; * getpeerinfo; * getroots; * stop; * uptime.
f56c5c1 to
ad609df
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK ad609df
|
Bitcoin-Core's |
Fix #449
What is the purpose of this pull request?
Which crates are being modified?
Description
This PR generalize the the test_framework on sub-libraries to allow
this and future implementations, so new daemons/rpcs from different implementations
can be used in a easier way.
Notes to the reviewers
This PR is a followup of #448, aiming for a concise test_framework.
Checklist
just lintcargo test