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
Lint
Lint Not Applicable
Unit
Tests Not Applicable