Skip to content
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

Fix bitcoind tests #84

Merged

Conversation

uncomputable
Copy link
Collaborator

Revive the bitcoind-tests sub crate for integration tests. Make it compile and check that it builds in CI to prevent future breaks. Integrate elementsd derivation in the nix flake.

This derivation takes a long time to build because it compiles elementsd from scratch. Once the derivation is built, it is cached, but I don't think we can use it for CI. Until we have some sort of caching, we have to run the integration tests locally. In any case, there is barely any integration test at the moment. I will add more tests once I can generate the witness data for them.

Exclude bitcoind-tests from main workspace. Update dependencies.
Update list of tested programs. Most programs cannot yet be tested
because they require signatures that need to be dynamically generated
during the test.
These files don't do anything.
nix develop .#elements
Don't run the integration tests because this requires a custom build of
elementsd, which will take very long to compile. There is currently no
cached version of elementsd that we can use. Nevertheless, building the
integration tests ensures that their subcrate keeps running.
Copy link
Contributor

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 759a534 successfully ran local tests; just tested that the ordinary crate stuff works, did not test the flake

@apoelstra apoelstra merged commit c75cd2a into BlockstreamResearch:master Sep 2, 2024
5 checks passed
@uncomputable uncomputable deleted the 2024-08-bitcoind-tests branch September 3, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants