Page MenuHomePhabricator

Merge #13304: qa: Fix wallet_listreceivedby race
ClosedPublic

Authored by nakihito on Fri, Sep 27, 00:34.

Details

Summary

fa865efa4a qa: Fix wallet_listreceivedby race (MarcoFalke)

Pull request description:

Generating a block on node 0 will only get node 0 out of IBD and not node 1. So the inv for the `txid` is dropped by node 1 and the call to `sync_all` fails.

Solve it by a call to `sync_blocks` after `generate`.

Tree-SHA512: e21b01a9e8c90bd6a3aad290c97cc4866ab384e22797b318eed55ae2767512203597d3a184b23ad5a3fe76bdbb8a3d5c51e097d56b160232851164434059ff23

Backport of Core PR13304
https://github.com/bitcoin/bitcoin/pull/13304/

Test Plan
test_runner.py wallet_listreceivedby

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

nakihito created this revision.Fri, Sep 27, 00:34
Owners added a reviewer: Restricted Owners Package.Fri, Sep 27, 00:34
Herald added a reviewer: Restricted Project. · View Herald TranscriptFri, Sep 27, 00:34
nakihito planned changes to this revision.Fri, Sep 27, 00:34
nakihito requested review of this revision.Fri, Sep 27, 00:56
deadalnix accepted this revision.Fri, Sep 27, 12:59
This revision is now accepted and ready to land.Fri, Sep 27, 12:59