aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-11-23 09:27:29 +0100
committerMarcoFalke <falke.marco@gmail.com>2020-11-23 09:27:36 +0100
commitfa05d19bd6ba619bb3f9aabc05c439cd18d34544 (patch)
tree2d13711f7d3aaf00b17e0adf070d127e0675b8d4
parent831675c8dccfa6525ffe751da3cc60709c380953 (diff)
test: Fix intermittent issue in mempool_compatibility
-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()