summaryrefslogtreecommitdiff
path: root/units/stress
diff options
authorPMR <pmr@pmr-lander>2020-02-25 16:35:50 +0000
committerPMR <pmr@pmr-lander>2020-02-25 16:35:50 +0000
commit0c06eadd115b2cf015b8edcb756fe9236c151753 (patch)
tree991c7b64a43a8803434358237fa40ca4f09d80c8 /units/stress
parentb5986748a745f0c41231739d82e31b5fea03b885 (diff)
parent7f54a248b998a84b58cf26f4e53652766ff10f71 (diff)
Merge #379215 from ~rodsmith/plainbox-provider-checkbox:unify-stress-ng-wrapper-scripts-2
Replace three stress-ng wrapper scripts with one unified script.
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 cf44c6c..0a1ce27 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"
- cpu_stress --runtime $STRESS_NG_CPU_TIME
+ stress_ng_test 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
- cpu_stress --runtime 7200
+ stress_ng_test cpu --base-time 7200
fi
_summary:
Stress of CPUs (very long runtime)