HomePhabricator

[test] updates to unbroadcast test

Description

[test] updates to unbroadcast test

Summary:

  • add () to function to actually disconnect from p2pconn
  • extract max interval into a constant
  • disconnect at the end of a subtest rather than start of next

This is a backport of Core PR18807 [2/9]
https://github.com/bitcoin/bitcoin/pull/18807/commits/bd093ca15de762fdaf0937a0877d17b0c2bce16e

Test Plan: test/functional/test_runner.py mempool_u*

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Amiti Uttarwar <amiti@uttarwar.org>Authored on Apr 28 2020, 17:17
PiRKCommitted on Jan 22 2021, 11:00
PiRKPushed on Jan 22 2021, 11:00
Reviewer
Restricted Project
Differential Revision
D9029: [test] updates to unbroadcast test
Parents
rABC2b1e2420f9f5: [docs] add release notes for new unbroadcast transaction status
Branches
Unknown
Tags
Unknown