From f2b2c2747a7fdcf0b6aad1fbb26bd139cd9b43bd Mon Sep 17 00:00:00 2001 From: Shubham Chaudhary Date: Fri, 17 May 2024 16:43:19 +0530 Subject: [PATCH] chore(io-stress): Fix the pod-io-stress experiment (#700) Signed-off-by: Shubham Chaudhary --- chaoslib/litmus/stress-chaos/helper/stress-helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chaoslib/litmus/stress-chaos/helper/stress-helper.go b/chaoslib/litmus/stress-chaos/helper/stress-helper.go index 8b46f001b..13f85418c 100644 --- a/chaoslib/litmus/stress-chaos/helper/stress-helper.go +++ b/chaoslib/litmus/stress-chaos/helper/stress-helper.go @@ -532,7 +532,7 @@ func addProcessToCgroup(pid int, control interface{}) error { } func injectChaos(t targetDetails, stressors string) (*exec.Cmd, error) { - stressCommand := "pause nsutil -t " + strconv.Itoa(t.Pid) + " -p -- " + stressors + stressCommand := "pause nsutil -t " + strconv.Itoa(t.Pid) + " -p -m -- " + stressors log.Infof("[Info]: starting process: %v", stressCommand) // launch the stress-ng process on the target container in paused mode