aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-11-25 11:25:30 +0100
committerMarcoFalke <falke.marco@gmail.com>2020-11-25 11:25:33 +0100
commit4e964094dbcbbbf8e587663a3ef3a85c075f4599 (patch)
treead2fc05700c6c306f1dad4bf87c71b93538b650a /test/functional
parent7264bcd20f700ecc88734cb77f2d18f849dcd856 (diff)
parentfa05d19bd6ba619bb3f9aabc05c439cd18d34544 (diff)
downloadbitcoin-4e964094dbcbbbf8e587663a3ef3a85c075f4599.tar.xz
Merge #20486: [backport] test: Fix intermittent issue in mempool_compatibility
fa05d19bd6ba619bb3f9aabc05c439cd18d34544 test: Fix intermittent issue in mempool_compatibility (MarcoFalke) Pull request description: Github-Pull: #20456 Rebased-From: fa05d19bd6ba619bb3f9aabc05c439cd18d34544 Top commit has no ACKs. Tree-SHA512: c07ed3ffab315da2bf70427882e2da8216964fef97dd538d7c46c5d5b3563b0732626ffbe4b0e19537ad49a8542eedb3c08850cccacdef466f24582defe99d22
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/mempool_compatibility.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/mempool_compatibility.py b/test/functional/mempool_compatibility.py
index 7168cb4ab2..8ac91bd008 100755
--- a/test/functional/mempool_compatibility.py
+++ b/test/functional/mempool_compatibility.py
@@ -29,7 +29,7 @@ class MempoolCompatibilityTest(BitcoinTestFramework):
def setup_network(self):
self.add_nodes(self.num_nodes, versions=[
- 150200, # oldest version supported by the test framework
+ 190100, # oldest version with getmempoolinfo.loaded (used to avoid intermittent issues)
None,
])
self.start_nodes()
@@ -72,5 +72,6 @@ class MempoolCompatibilityTest(BitcoinTestFramework):
assert old_tx_hash in old_node.getrawmempool()
assert unbroadcasted_tx_hash in old_node.getrawmempool()
+
if __name__ == "__main__":
MempoolCompatibilityTest().main()