summaryrefslogtreecommitdiff
path: root/units/stress
diff options
authorJonathan Cave <jonathan.cave@canonical.com>2020-08-05 23:30:28 +0100
committerJonathan Cave <jonathan.cave@canonical.com>2020-08-05 23:30:28 +0100
commitd527f39fae8167512d40adc9acc57224ce037863 (patch)
tree73cc57aaee8047d8325a0714fd8ac5a8b1d0c5fd /units/stress
parentb241956a7c3e0a078d49d2d85d2224eca66ba31a (diff)
units/*: simplify requires fields
Improve performance of checkbox by reducing the complexity of requires fields.
Diffstat (limited to 'units/stress')
-rw-r--r--units/stress/jobs.pxu2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/stress/jobs.pxu b/units/stress/jobs.pxu
index 5a342da..aa12e28 100644
--- a/units/stress/jobs.pxu
+++ b/units/stress/jobs.pxu
@@ -16,7 +16,7 @@ category_id: com.canonical.plainbox::stress
id: stress/cpu_stress_ng_test
estimated_duration: 7200.0
requires:
- package.name == 'stress-ng' or executable.name == 'stress-ng'
+ executable.name == 'stress-ng'
user: root
command:
if [ -n "$STRESS_NG_CPU_TIME" ]