Skip to content

Commit ff6c9fe

Browse files
committed
tests: Whitelist test p2p connection in rpc_packages
test_submit_child_with_parents creates a p2p connection which waits for the node to announce transactions to it. By whitelisting this connection, we can reduce the amount of time spent waiting for this announcement which improves the test runtime and runtime variance.
1 parent 8c20796 commit ff6c9fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/rpc_packages.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class RPCPackagesTest(BitcoinTestFramework):
2929
def set_test_params(self):
3030
self.num_nodes = 1
3131
self.setup_clean_chain = True
32+
self.extra_args = [["[email protected]"]] # noban speeds up tx relay
3233

3334
def assert_testres_equal(self, package_hex, testres_expected):
3435
"""Shuffle package_hex and assert that the testmempoolaccept result matches testres_expected. This should only

0 commit comments

Comments
 (0)