diff --git a/lntest/node/harness_node.go b/lntest/node/harness_node.go index ed4f324ae..d337f906f 100644 --- a/lntest/node/harness_node.go +++ b/lntest/node/harness_node.go @@ -732,7 +732,14 @@ func (hn *HarnessNode) Stop() error { // manually. hn.printErrf("found nil RPC clients") if err := hn.Kill(); err != nil { - return fmt.Errorf("killing process got: %v", err) + // Skip the error if the process is already dead. + if !strings.Contains( + err.Error(), "process already finished", + ) { + + return fmt.Errorf("killing process got: %w", + err) + } } }