summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorRod Smith <rod.smith@canonical.com>2016-07-15 09:49:30 -0400
committerRod Smith <rod.smith@canonical.com>2016-07-15 09:49:30 -0400
commitf7a14619791716a90eaa881e07565d2f7fe719f6 (patch)
treed3ea500a9115a28015101cb50c59bd84d2868e26 /jobs
parent341c6c6792d04afc7e531c26cd7ba8879a4a4ab5 (diff)
providers:checkbox: Added new disk_stress_ng test based on stress-ng
Diffstat (limited to 'jobs')
-rw-r--r--jobs/disk.txt.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/jobs/disk.txt.in b/jobs/disk.txt.in
index 9dc8c40..0ed85dc 100644
--- a/jobs/disk.txt.in
+++ b/jobs/disk.txt.in
@@ -67,6 +67,20 @@ _summary: Disk I/O stress test for {product}
_description: Disk I/O stress test for {product}
command: storage_test {name}
+unit: template
+template-resource: device
+template-filter: device.category == 'DISK'
+plugin: shell
+category_id: 2013.com.canonical.plainbox::disk
+id: disk/disk_stress_ng_{name}
+estimated_duration: 4560.0
+user: root
+requires:
+ block_device.{name}_state != 'removable'
+_summary: Disk stress_ng test for {product}
+_description: Disk stress_ng test for {product}
+command: disk_stress_ng --disk-device {name} --base-time 240 --really-run
+
plugin: shell
category_id: 2013.com.canonical.plainbox::disk
id: disk/spindown