Skip to content

Commit f2b2c27

Browse files
authored
chore(io-stress): Fix the pod-io-stress experiment (#700)
Signed-off-by: Shubham Chaudhary <[email protected]>
1 parent 66d0101 commit f2b2c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chaoslib/litmus/stress-chaos/helper/stress-helper.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ func addProcessToCgroup(pid int, control interface{}) error {
532532
}
533533

534534
func injectChaos(t targetDetails, stressors string) (*exec.Cmd, error) {
535-
stressCommand := "pause nsutil -t " + strconv.Itoa(t.Pid) + " -p -- " + stressors
535+
stressCommand := "pause nsutil -t " + strconv.Itoa(t.Pid) + " -p -m -- " + stressors
536536
log.Infof("[Info]: starting process: %v", stressCommand)
537537

538538
// launch the stress-ng process on the target container in paused mode

0 commit comments

Comments
 (0)