From 290f67c939d700b5389e61982b3ffc5a441719b1 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Wed, 17 May 2023 12:24:23 +0200 Subject: [PATCH] Add '-all' flag to apply to inactive units Signed-off-by: Manuel Buil --- tests/e2e/testutils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/testutils.go b/tests/e2e/testutils.go index fcd42975f2cb..0e4956c00bd2 100644 --- a/tests/e2e/testutils.go +++ b/tests/e2e/testutils.go @@ -419,7 +419,7 @@ func ParsePods(kubeConfig string, print bool) ([]Pod, error) { // RestartCluster restarts the k3s service on each node given func RestartCluster(nodeNames []string) error { for _, nodeName := range nodeNames { - cmd := "sudo systemctl restart k3s*" + cmd := "sudo systemctl restart k3s* --all" if _, err := RunCmdOnNode(cmd, nodeName); err != nil { return err }