Skip to content

Commit

Permalink
chore(io-stress): Fix the pod-io-stress experiment (#700)
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Chaudhary <[email protected]>
  • Loading branch information
ispeakc0de authored May 17, 2024
1 parent 66d0101 commit f2b2c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chaoslib/litmus/stress-chaos/helper/stress-helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f2b2c27

Please sign in to comment.