HomePhabricator

[chronik] Add an integration test for the blockchain_info endpoint in…

Description

[chronik] Add an integration test for the blockchain_info endpoint in bitcoinsuite-chronik-client

Summary:
Depends on D17595 - this diff uses features from D17595 files test_runner.rs and handler.rs.

Use the bitcoinsuite-chronik-client to return the tip height and tip hash length, thus we can compare with the python bitcoin tests and assert if they are equal.

Test Plan:
Please set BUILD_DIR env to export BUILD_DIR="/path/to/build_dir
UNIX: ./contrib/teamcity/build-configurations.py build-bitcoinsuite-chronik-client
cd modules/bitcoinsuite-chronik-client && cargo test

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien

Subscribers: Fabien, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D17638

Details

Provenance
hazzarustAuthored on Tue, Feb 4, 17:17
hazzarustPushed on Thu, Feb 27, 13:08
Reviewer
Restricted Owners Package
Differential Revision
D17638: [chronik] Add an integration test for the blockchain_info endpoint in bitcoinsuite-chronik-client
Parents
rABC0f4a80e06575: [chronik] Add an integration test for the chronik_info endpoint in bitcoinsuite…
Branches
Unknown
Tags
Unknown