lntest: skip logging if there's no error in shutdown

This commit is contained in:
yyforyongyu committed 2023-02-27 16:21:54 +08:00
1 parent d321182220
commit 86373645b6
1 file changed
+4
+4
View File
@@ -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.