[tests] fix nits.

Thanks to Marco Falke.
This commit is contained in:
John Newbery
2017-06-29 15:06:33 +01:00
parent 05b8c081b4
commit 5ba83c1d43
2 changed files with 1 additions and 4 deletions

View File

@@ -255,8 +255,8 @@ class BitcoinTestFramework(object):
except http.client.CannotSendRequest as e:
self.log.exception("Unable to stop node")
return_code = self.bitcoind_processes[i].wait(timeout=BITCOIND_PROC_WAIT_TIMEOUT)
assert_equal(return_code, 0)
del self.bitcoind_processes[i]
assert_equal(return_code, 0)
def stop_nodes(self):
"""Stop multiple bitcoind test nodes"""