summaryrefslogtreecommitdiff
path: root/units/stress
diff options
authorPMR <pmr@pmr-lander>2020-12-17 13:35:42 +0000
committerPMR <pmr@pmr-lander>2020-12-17 13:35:42 +0000
commitbfc404351a4d8a6af4ceaa9d459434d82c549266 (patch)
tree1ec60b803567c03b17a72fd9994aae30fe371068 /units/stress
parente53ecca2db755d98daddbc28375570694d7af52c (diff)
parent4ee1d830a2998de1b6ca9678bbb54b1de885eed8 (diff)
Merge #395236 from ~bladernr/plainbox-provider-checkbox:1905813-add-missing-environ-stressng-test
Add environ: to cpu stress-ng test so that users can override the default runtime correctly
Diffstat (limited to 'units/stress')
-rw-r--r--units/stress/jobs.pxu1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu
index 2114b39..a541e3a 100644
--- a/units/stress/jobs.pxu
+++ b/units/stress/jobs.pxu
@@ -18,6 +18,7 @@ estimated_duration: 7200.0
requires:
executable.name == 'stress-ng'
user: root
+environ: STRESS_NG_CPU_TIME
command:
if [ -n "$STRESS_NG_CPU_TIME" ]
then