Page MenuHomePhabricator

Merge #13304: qa: Fix wallet_listreceivedby race

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



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

Test Plan wallet_listreceivedby

Diff Detail

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

Event Timeline

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