aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-06-22 20:16:13 +0200
committerMarcoFalke <falke.marco@gmail.com>2017-06-22 20:16:20 +0200
commit4bc853b50fd9127687eb9e4f3b679dd261a4fa96 (patch)
tree4776683a31484741e172bd75b21d94ea1304f237
parent01c4b143a87e255d5fcb0f60f1164291262040c6 (diff)
parent999923e4bbc62920810d4d149a4938cfd657408a (diff)
downloadbitcoin-4bc853b50fd9127687eb9e4f3b679dd261a4fa96.tar.xz
Merge #10636: [qa] util: Check return code after closing bitcoind proc
999923e [qa] util: Check return code after closing bitcoind proc (MarcoFalke) Tree-SHA512: 1aa911e5ce25ef59b006b7f8f25e5eef3c6c31f1b4362564e158ed92dd7804625fccc08be8b98c8c32779b530a8ec988819947692698214e34f5cb1d411c9eda
-rw-r--r--test/functional/test_framework/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/util.py b/test/functional/test_framework/util.py
index d2a609451d..fa6388bf96 100644
--- a/test/functional/test_framework/util.py
+++ b/test/functional/test_framework/util.py
@@ -322,8 +322,8 @@ def _stop_node(node, i):
except http.client.CannotSendRequest as e:
logger.exception("Unable to stop node")
return_code = bitcoind_processes[i].wait(timeout=BITCOIND_PROC_WAIT_TIMEOUT)
- assert_equal(return_code, 0)
del bitcoind_processes[i]
+ assert_equal(return_code, 0)
def _stop_nodes(nodes):
"""Stop multiple bitcoind test nodes