aboutsummaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-07-06 20:46:22 +0200
committerMarcoFalke <falke.marco@gmail.com>2016-07-07 10:28:42 +0200
commitfa9976b853dbd04334cd0b5a058b99aa0014e649 (patch)
tree63cd4e4335538c17ff4cc837657d8b4f67fc8bff /qa
parentda50997a3ee7d3b73180c71cd454580af49c2244 (diff)
[qa] test_framework: Add wrapper for stop_node
Diffstat (limited to 'qa')
-rwxr-xr-xqa/rpc-tests/test_framework/test_framework.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/qa/rpc-tests/test_framework/test_framework.py b/qa/rpc-tests/test_framework/test_framework.py
index 30e8b5755d..0dfece6b27 100755
--- a/qa/rpc-tests/test_framework/test_framework.py
+++ b/qa/rpc-tests/test_framework/test_framework.py
@@ -20,6 +20,7 @@ from .util import (
sync_blocks,
sync_mempools,
stop_nodes,
+ stop_node,
wait_bitcoinds,
enable_coverage,
check_json_precision,
@@ -49,6 +50,9 @@ class BitcoinTestFramework(object):
else:
initialize_chain(self.options.tmpdir, self.num_nodes)
+ def stop_node(self, num_node):
+ stop_node(self.nodes[num_node], num_node)
+
def setup_nodes(self):
return start_nodes(self.num_nodes, self.options.tmpdir)