You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a few functions that are not tested, some of these (e.g., load_wallet) require starting bitcoind running an RPC command, restarting bitcoind and verifying the desired state.
Possible solution
Add a second binary to the integration test crate which calls the methods to test that require a restart (could use command line args so the same crate can run the command and run the verification command (i.e., cargo run -- --load-wallet and cargo run -- --verify-load-wallet)
Patch the run.sh script to start bitcoind run the new crate with --load-wallet
and restart bitcoind and run crate with --verify-load-wallet
There may be other ways to solve this, feel free to be creative.
The text was updated successfully, but these errors were encountered:
Context
We have a few functions that are not tested, some of these (e.g.,
load_wallet
) require startingbitcoind
running an RPC command, restartingbitcoind
and verifying the desired state.Possible solution
cargo run -- --load-wallet
andcargo run -- --verify-load-wallet
)run.sh
script to startbitcoind
run the new crate with--load-wallet
bitcoind
and run crate with--verify-load-wallet
There may be other ways to solve this, feel free to be creative.
The text was updated successfully, but these errors were encountered: