
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
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
---
|
|
SaharaJob.create_launch_job:
|
|
-
|
|
args:
|
|
job_type: "Java"
|
|
configs:
|
|
configs:
|
|
edp.java.main_class: "org.apache.hadoop.examples.PiEstimator"
|
|
args:
|
|
- "10"
|
|
- "10"
|
|
runner:
|
|
type: "constant"
|
|
times: 4
|
|
concurrency: 2
|
|
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: "examples.jar"
|
|
download_url: "http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-mapreduce-examples/2.6.0/hadoop-mapreduce-examples-2.6.0.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
|