diff options
author | Georg Kunz <georg.kunz@ericsson.com> | 2018-07-30 15:10:11 +0200 |
---|---|---|
committer | Georg Kunz <georg.kunz@ericsson.com> | 2018-07-31 11:14:15 +0200 |
commit | 081eaf19163fdaeb1e0038240a2e74007527c98c (patch) | |
tree | 4f786ee56c2ee049502af3f68abd19355d13d791 /etc/testcase/yardstick.ha.neutron_l3_agent.yml | |
parent | cccef0172c0c026e63cd4df3e7f377daaafbc509 (diff) |
Renaming test cases to include test framework names
Replacing the generic "dovetail" prefix of the testcase definitions with
the name of the OPNFV test framework which hosts the test.
JIRA: DOVETAIL-719
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
Change-Id: I8f90423b8908197bdc7adddf82c61ff394893f52
Diffstat (limited to 'etc/testcase/yardstick.ha.neutron_l3_agent.yml')
-rw-r--r-- | etc/testcase/yardstick.ha.neutron_l3_agent.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/etc/testcase/yardstick.ha.neutron_l3_agent.yml b/etc/testcase/yardstick.ha.neutron_l3_agent.yml new file mode 100644 index 00000000..1fb2326d --- /dev/null +++ b/etc/testcase/yardstick.ha.neutron_l3_agent.yml @@ -0,0 +1,32 @@ +--- +yardstick.ha.neutron_l3_agent: + name: yardstick.ha.neutron_l3_agent + objective: OpenStack Controller Virtual Router Service High Availability. + validate: + type: yardstick + testcase: opnfv_yardstick_tc058 + pre_condition: + - 'source /etc/yardstick/openstack.creds && + openstack --insecure image create neutron-l3-agent_ha_image + --disk-format qcow2 --container-format bare --public + --file /home/opnfv/userconfig/images/cirros-0.4.0-x86_64-disk.img && + openstack --insecure flavor create --ram 512 --vcpu 1 --disk 1 neutron-l3-agent_ha_flavor' + cmds: + - "cd /home/opnfv/repos/yardstick && source /etc/yardstick/openstack.creds && + yardstick task start tests/opnfv/test_cases/{{validate_testcase}}.yaml + --output-file /tmp/yardstick/{{testcase}}.out + --task-args '{'file': '/home/opnfv/userconfig/pre_config/pod.yaml', + 'image': 'neutron-l3-agent_ha_image', 'flavor': 'neutron-l3-agent_ha_flavor'}'" + post_condition: + - 'source /etc/yardstick/openstack.creds && + openstack --insecure image delete neutron-l3-agent_ha_image && + openstack --insecure flavor delete neutron-l3-agent_ha_flavor' + report: + source_archive_files: + - yardstick.log + - yardstick.ha.neutron_l3_agent.out + dest_archive_files: + - ha_logs/yardstick.ha.neutron_l3_agent.log + - ha_logs/yardstick.ha.neutron_l3_agent.out + check_results_file: ha_logs/yardstick.ha.neutron_l3_agent.out + sub_testcase_list: |