Page MenuHomePhabricator

[test] Manage node connections better in mempool persist test
ClosedPublic

Authored by PiRK on Jan 22 2021, 09:56.

Details

Summary

there were two calls to disconnect_nodes that were no-ops. fixed one & removed
the other & added assertions to confirm node has no connections when creating
the unbroadcast transaction.

This is a backport of Core PR18807
https://github.com/bitcoin/bitcoin/pull/18807/commits/fa32e676e5833a5c5fc735ef00c0a80f5fab7a2c

Test Plan

test/functional/test_runner.py mempool_persist

Diff Detail

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