Page MenuHomePhabricator

[qa] Fix race condition in example_test.py
ClosedPublic

Authored by PiRK on Oct 12 2020, 10:22.

Details

Reviewers
Fabien
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABCb8eaec1a704c: [qa] Fix race condition in example_test.py
Summary

PR description:

There's a race between sending a getdata for a bunch of blocks with the node receiving those blocks from a peer, which could cause test failure. Fix this.

Motivated by observing this race caused an appveyor test failure on another PR

Backport of Core PR16459

Test Plan

ninja && test/functional/test_runner.py example_test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable