Uh oh!
There was an error while loading. Please reload this page.
Fix esplora integration test runner - #415
Conversation
1053f07 to
d28765dCompareRCasatta
commented
Aug 2, 2021
I think the hanging is more likely due to the esplora version pointed by your env var. For esplora it's needed a specific electrs fork (branch new-index in https://github.com/blockstream/electrs).
a33e97e1 stands for the specific commit of electrs, so you can either use the feature, or build electrs at that commit. Also |
tcharding
commented
Aug 2, 2021
Thanks for the tips @RCasatta, I tried as you suggested (with no env vars set) but still tests hang. Can see from the log output that its pulling down bitcoind/electrs to run the tests. Any other ideas please? |
I can't reproduce on my system and neither on the CI (run in this PR looks failing for unrelated HTTP issue, this one https://github.com/RCasatta/bdk/actions/runs/1093394555 looks fine) Maybe some more details on your system could help to reproduce. Also, maybe running this:
also with this patch: May give insight on what's happening under the hood UPDATE: the patch seems useful to have in case you have a Debug log level, so I opened a PR #417 |
d28765d to
1f6dd33CompareThere was a problem hiding this comment.
Works for me locally (osx) and in CI so ACK 1f6dd33
I just noticed we also need to update the CI test-blockchains job to add the use-esplora-ureq or use-esplora-request features. I'll add a commit for this before merging.
Recently we added sub-modules to the `esplora` module for different HTTP backends. We (Tobin) failed to update the integration test runner. Modify the test running macro so that the backend is explicitly selected: `cargo test --no-default-features --features=use-esplora-ureq,test-esplora`
1f6dd33 to
ad5a9f8Comparetcharding
commented
Aug 30, 2021
Thanks @notmandatory, picking up the pieces for me :) |
notmandatory
commented
Aug 30, 2021
I think @rajarshimaitra's #430 will go in first then we can add this change. 🙂 |
tcharding
commented
Sep 2, 2021
#433 solves this issue in a better way. |
Description
Recently we added sub-modules to the
esploramodule for different HTTPbackends. We (Tobin) failed to update the integration test runner.
Modify the test running macro so that the backend is explicitly
selected:
cargo test --no-default-features --features=use-esplora-ureq,test-esploraNotes to the reviewers
I can't actually get the integration tests to run to completion. They all (test-rpc, test-electrum, test-esplora) hang
However without this patch the integration tests do not run at all for esplora so I believe this is still correct. And it seems like a good way to ask if I am doing something wrong with how I'm trying to run the integration tests? Any suggestions please?
Checklists
All Submissions:
cargo fmtandcargo clippybefore committingNew Features:
CHANGELOG.mdBugfixes: