summaryrefslogtreecommitdiff
path: root/units/stress
diff options
Diffstat (limited to 'units/stress')
-rw-r--r--units/stress/jobs.pxu4
1 files changed, 2 insertions, 2 deletions
diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu
index aa12e28..2114b39 100644
--- a/units/stress/jobs.pxu
+++ b/units/stress/jobs.pxu
@@ -22,10 +22,10 @@ command:
if [ -n "$STRESS_NG_CPU_TIME" ]
then
echo "Found STRESS_NG_CPU_TIME env var, stress_ng cpu running time is now: $STRESS_NG_CPU_TIME seconds"
- stress_ng_test.py cpu --base-time "$STRESS_NG_CPU_TIME"
+ systemd-inhibit stress_ng_test.py cpu --base-time "$STRESS_NG_CPU_TIME"
else
echo STRESS_NG_CPU_TIME env var is not found, stress_ng cpu running time is default value
- stress_ng_test.py cpu --base-time 7200
+ systemd-inhibit stress_ng_test.py cpu --base-time 7200
fi
_summary:
Stress of CPUs (very long runtime)