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:
1 file changed
+2
@@ -361,6 +361,8 @@ func (h *HarnessTest) Stop() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h.shutdownAllNodes()
|
||||||
|
|
||||||
close(h.lndErrorChan)
|
close(h.lndErrorChan)
|
||||||
|
|
||||||
// Stop the fee service.
|
// Stop the fee service.
|
||||||
|
|||||||
Reference in new issue
Block a user