From 86373645b60b85a9ac359329a01794a959e4723a Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Mon, 27 Feb 2023 16:21:54 +0800 Subject: [PATCH] lntest: skip logging if there's no error in shutdown --- lntest/harness.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lntest/harness.go b/lntest/harness.go index 1d11a85e8..95cc1afbb 100644 --- a/lntest/harness.go +++ b/lntest/harness.go @@ -412,6 +412,10 @@ func (h *HarnessTest) shutdownNodes(skipStandby bool) { return h.manager.shutdownNode(node) }, DefaultTimeout) + if err == nil { + continue + } + // Instead of returning the error, we will log it instead. This // is needed so other nodes can continue their shutdown // processes.