Merge #20486: [backport] test: Fix intermittent issue in mempool_compatibility
fa05d19bd6
test: Fix intermittent issue in mempool_compatibility (MarcoFalke) Pull request description: Github-Pull: #20456 Rebased-From:fa05d19bd6
Top commit has no ACKs. Tree-SHA512: c07ed3ffab315da2bf70427882e2da8216964fef97dd538d7c46c5d5b3563b0732626ffbe4b0e19537ad49a8542eedb3c08850cccacdef466f24582defe99d22
This commit is contained in:
commit
4e964094db
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue