summaryrefslogtreecommitdiff
path: root/units/stress
diff options
authorJeff Lane <jeffrey.lane@canonical.com>2020-12-11 14:35:46 -0500
committerJeff Lane <jeffrey.lane@canonical.com>2020-12-11 14:35:46 -0500
commit4ee1d830a2998de1b6ca9678bbb54b1de885eed8 (patch)
treee4bb215eb939abefd1edbb0ca11c0122f9dd1509 /units/stress
parentcdee3d99fb4e574eeec42f9f8d820c23e65d9d2b (diff)
stress/cpu_stress_ng_test: add environ: so that users can override the default runtime correctly lp: #1905813
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