From 607e8b1ec86b19e2a24dd1996c0532c27102afb7 Mon Sep 17 00:00:00 2001 From: topahadzi Date: Wed, 22 Nov 2023 14:55:41 +0700 Subject: [PATCH] udpate --- chaoslib/litmus/vira/node-restart/lib/node-restart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chaoslib/litmus/vira/node-restart/lib/node-restart.go b/chaoslib/litmus/vira/node-restart/lib/node-restart.go index b7ca8c4..bcb85c9 100644 --- a/chaoslib/litmus/vira/node-restart/lib/node-restart.go +++ b/chaoslib/litmus/vira/node-restart/lib/node-restart.go @@ -142,7 +142,7 @@ func restartNode(experimentsDetails *experimentTypes.ExperimentDetails, clients return err } - command := exec.Command("kubectl", "node_shell", experimentsDetails.TargetNode, "--", "shutdown", "-r", "+1") + command := exec.Command("kubectl", "node_shell", experimentsDetails.TargetNode, "--", "shutdown", "-r", "+3") if err := common.RunCLICommands(command, "", fmt.Sprintf("{node: %s}", experimentsDetails.TargetNode), "failed to restart the target node", cerrors.ErrorTypeChaosInject); err != nil { return err }