Browse Source

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
0.15
MarcoFalke 8 years ago
parent
commit
4bc853b50f
No known key found for this signature in database
GPG Key ID: D2EA4850E7528B25
  1. 2
      test/functional/test_framework/util.py

2
test/functional/test_framework/util.py

@ -322,8 +322,8 @@ def _stop_node(node, i):
except http.client.CannotSendRequest as e: except http.client.CannotSendRequest as e:
logger.exception("Unable to stop node") logger.exception("Unable to stop node")
return_code = bitcoind_processes[i].wait(timeout=BITCOIND_PROC_WAIT_TIMEOUT) return_code = bitcoind_processes[i].wait(timeout=BITCOIND_PROC_WAIT_TIMEOUT)
assert_equal(return_code, 0)
del bitcoind_processes[i] del bitcoind_processes[i]
assert_equal(return_code, 0)
def _stop_nodes(nodes): def _stop_nodes(nodes):
"""Stop multiple bitcoind test nodes """Stop multiple bitcoind test nodes

Loading…
Cancel
Save