a05b540b93
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
67 lines
2.3 KiB
JSON
67 lines
2.3 KiB
JSON
{
|
|
"SaharaJob.create_launch_job_sequence_with_scaling": [
|
|
{
|
|
"args": {
|
|
"jobs": [
|
|
{
|
|
"job_type": "Java",
|
|
"configs": {
|
|
"configs": {
|
|
"edp.java.main_class": "org.apache.hadoop.fs.TestDFSIO"
|
|
},
|
|
"args": ["-write", "-nrFiles", "10", "-fileSize", "100"]
|
|
}
|
|
}, {
|
|
"job_type": "Java",
|
|
"configs": {
|
|
"configs": {
|
|
"edp.java.main_class": "org.apache.hadoop.fs.TestDFSIO"
|
|
},
|
|
"args": ["-read", "-nrFiles", "10", "-fileSize", "100"]
|
|
}
|
|
}
|
|
],
|
|
"deltas": [2, 2, 2]
|
|
},
|
|
"runner": {
|
|
"type": "serial",
|
|
"times": 1
|
|
},
|
|
"context": {
|
|
"users": {
|
|
"tenants": 1,
|
|
"users_per_tenant": 1
|
|
},
|
|
"sahara_image": {
|
|
"image_url": "http://sahara-files.mirantis.com/mos70/sahara-kilo-vanilla-2.6.0-ubuntu-14.04.qcow2",
|
|
"username": "ubuntu",
|
|
"plugin_name": "vanilla",
|
|
"hadoop_version": "2.6.0"
|
|
},
|
|
"sahara_job_binaries": {
|
|
"libs": [
|
|
{
|
|
"name": "tests.jar",
|
|
"download_url": "http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-hdfs/2.6.0/hadoop-hdfs-2.6.0-tests.jar"
|
|
}
|
|
]
|
|
},
|
|
"sahara_cluster": {
|
|
"master_flavor_id": "4",
|
|
"worker_flavor_id": "3",
|
|
"workers_count": 3,
|
|
"plugin_name": "vanilla",
|
|
"hadoop_version": "2.6.0",
|
|
"auto_security_group": true
|
|
},
|
|
"network": {}
|
|
},
|
|
"sla": {
|
|
"failure_rate": {
|
|
"max": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|