Page MenuHomePhabricator

[chronik-client] Fix a bug in the plugins integration test
ClosedPublic

Authored by Fabien on Thu, Feb 20, 13:25.

Details

Summary

The test expects the transactions to be sorted by txid, which is not always true as some mempool endpoints return the txs sorted by time first seen then txid.
Fix this by setting the node mocktime, which makes all the time first seen equal and sorting by txid correct.

Test Plan
./contrib/teamcity/build-configurations.py chronik-client-integration-tests

Diff Detail

Repository
rABC Bitcoin ABC
Branch
fix_chronik_client_plugins
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32429
Build 64347: Build Diffbuild-without-wallet · build-clang-tidy · build-clang · build-debug · build-diff
Build 64346: arc lint + arc unit