HomePhabricator

Merge #14964: test: Fix race in mempool_accept

Description

Merge #14964: test: Fix race in mempool_accept

Summary:
PR14964 backport

Pull request description:

If we happen to pick the same random coin to spend, there would be mempool conflicts in some runs of the test. Fix that by popping from a static list of coins to spend from.

Depends on D5189

Test Plan: ninja check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D5190

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Dec 17 2018, 15:11
Mark Lundeberg <markblundeberg@users.noreply.github.com>Committed on Feb 7 2020, 11:56
markblundebergPushed on Feb 7 2020, 12:06
Reviewer
Restricted Project
Differential Revision
D5190: Merge #14964: test: Fix race in mempool_accept
Parents
rSTAGINGb695dd718e58: Merge #14926: test: consensus: Check that final transactions are valid
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/16108