summaryrefslogtreecommitdiff
diff options
authorPMR <pmr@pmr-lander>2021-02-26 06:24:53 +0000
committerPMR <pmr@pmr-lander>2021-02-26 06:24:53 +0000
commit3f14a663de76a14554f4cde6735b459d2c96ccca (patch)
tree93d636836716ccfcfbef0dd399ce7a0387c0cc3e
parent24b9fa01cf1bb88dcffd561ac2e745ae524763a5 (diff)
parent682b471410e8c4d3dd304dd5c93b7baa328abbd9 (diff)
Merge #393788 from ~narahuang/plainbox-provider-checkbox/+git/plainbox-provider-checkbox:stress-ng-add-timeout
-rw-r--r--units/stress/stress-ng.pxu3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/stress/stress-ng.pxu b/units/stress/stress-ng.pxu
index 9cbe615..9083fe6 100644
--- a/units/stress/stress-ng.pxu
+++ b/units/stress/stress-ng.pxu
@@ -27,5 +27,6 @@ _description:
same number of proccesses as online processors.
plugin: shell
estimated_duration: 1200.0
+environ: STRESS_NG_CLASSES_TIMEOUT
command:
- stress-ng --sequential 0 --class {stress-ng-class}
+ stress-ng --sequential 0 --class {stress-ng-class} --timeout "${{STRESS_NG_CLASSES_TIMEOUT:-30}}"