Page MenuHomePhabricator

Merge #13304: qa: Fix wallet_listreceivedby race
ClosedPublic

Authored by nakihito on Sep 27 2019, 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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a reviewer: Restricted Owners Package.Sep 27 2019, 00:34
This revision is now accepted and ready to land.Sep 27 2019, 12:59