rally-openstack/samples/tasks/scenarios/glance/create-and-deactivate-image.json
Andrey Kurilin a05b540b93 [samples] Speed up checking samples
We do not need to run all tests for both yaml and json configs of one
samples since we have a separate check that pair of configs has same
content.

Also, this patch removes code duplication and fixes check of sla
section.

Change-Id: I74b37043389927eea95cb1129adf811b62645f70
2017-08-31 20:10:03 +03:00

28 lines
719 B
JSON

{
"GlanceImages.create_and_deactivate_image": [
{
"args": {
"image_location": "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img",
"container_format": "bare",
"disk_format": "qcow2"
},
"runner": {
"type": "constant",
"times": 10,
"concurrency": 1
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}