From d527f39fae8167512d40adc9acc57224ce037863 Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Wed, 5 Aug 2020 23:30:28 +0100 Subject: units/*: simplify requires fields Improve performance of checkbox by reducing the complexity of requires fields. --- units/stress/jobs.pxu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units/stress') 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" ] -- cgit v1.2.3