summaryrefslogtreecommitdiff
diff options
-rw-r--r--units/cpu/jobs.pxu4
1 files changed, 3 insertions, 1 deletions
diff --git a/units/cpu/jobs.pxu b/units/cpu/jobs.pxu
index a027aa9..6ccc3fe 100644
--- a/units/cpu/jobs.pxu
+++ b/units/cpu/jobs.pxu
@@ -2,7 +2,9 @@ plugin: shell
category_id: com.canonical.plainbox::cpu
id: cpu/scaling_test
estimated_duration: 150.0
-requires: executable.name == 'fwts'
+requires:
+ executable.name == 'fwts'
+ 'performance' in cpuinfo.governors
user: root
environ: PLAINBOX_SESSION_SHARE LD_LIBRARY_PATH SNAP
command: