From 5f20fd4d9fabbd9bc3684239cfdcc67b80ea2da5 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Tue, 22 Oct 2024 18:12:14 +0200 Subject: [PATCH] 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). --- lntest/harness.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lntest/harness.go b/lntest/harness.go index 09e2418351..5c69cde0e0 100644 --- a/lntest/harness.go +++ b/lntest/harness.go @@ -361,6 +361,8 @@ func (h *HarnessTest) Stop() { return } + h.shutdownAllNodes() + close(h.lndErrorChan) // Stop the fee service.