aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/p2p-mempool.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-06-30 14:49:59 +0200
committerMarcoFalke <falke.marco@gmail.com>2016-07-15 20:18:11 +0200
commitfae596f0e421148b797197baff089a87b3193dbd (patch)
tree4c2a8a9dbe33901ce14b1e8412157511d4b1b239 /qa/rpc-tests/p2p-mempool.py
parent3685e0c1da296be533fef4abcf1b1734ed7d85e7 (diff)
[qa] Sort scripts by time for pull_tester and don't overwrite setup_chain
Diffstat (limited to 'qa/rpc-tests/p2p-mempool.py')
-rwxr-xr-xqa/rpc-tests/p2p-mempool.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/qa/rpc-tests/p2p-mempool.py b/qa/rpc-tests/p2p-mempool.py
index 5d2daf39f8..5c5d778f42 100755
--- a/qa/rpc-tests/p2p-mempool.py
+++ b/qa/rpc-tests/p2p-mempool.py
@@ -72,8 +72,11 @@ class TestNode(NodeConnCB):
self.send_message(msg_mempool())
class P2PMempoolTests(BitcoinTestFramework):
- def setup_chain(self):
- initialize_chain_clean(self.options.tmpdir, 2)
+
+ def __init__(self):
+ super().__init__()
+ self.setup_clean_chain = True
+ self.num_nodes = 2
def setup_network(self):
# Start a node with maxuploadtarget of 200 MB (/24h)