lntest: shutdown all nodes at end of test

Fixes an issue where the standby nodes would keep running even after the
test finished (successfully or with a failure).
This commit is contained in:
Oliver Gugger 2024-10-22 18:12:14 +02:00
parent 49275e1d46
commit 5f20fd4d9f
No known key found for this signature in database
GPG key ID: 8E4256593F177720

View file

@ -361,6 +361,8 @@ func (h *HarnessTest) Stop() {
return
}
h.shutdownAllNodes()
close(h.lndErrorChan)
// Stop the fee service.