Skip to content

Commit fa9976b

Browse files
author
MarcoFalke
committed
[qa] test_framework: Add wrapper for stop_node
1 parent da50997 commit fa9976b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

qa/rpc-tests/test_framework/test_framework.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
sync_blocks,
2121
sync_mempools,
2222
stop_nodes,
23+
stop_node,
2324
wait_bitcoinds,
2425
enable_coverage,
2526
check_json_precision,
@@ -49,6 +50,9 @@ def setup_chain(self):
4950
else:
5051
initialize_chain(self.options.tmpdir, self.num_nodes)
5152

53+
def stop_node(self, num_node):
54+
stop_node(self.nodes[num_node], num_node)
55+
5256
def setup_nodes(self):
5357
return start_nodes(self.num_nodes, self.options.tmpdir)
5458

0 commit comments

Comments
 (0)