summaryrefslogtreecommitdiffstats
path: root/etc/testcase/ha.neutron_l3_agent.yml
diff options
context:
space:
mode:
authorGeorg Kunz <georg.kunz@ericsson.com>2018-04-22 01:25:51 +0200
committerDan Xu <xudan16@huawei.com>2018-05-15 08:47:41 +0000
commitf652cf382c5636002ad2c3fe3e6d034a81ae42bc (patch)
treed423badfb0bbc862987ee613548361411cafa6ee /etc/testcase/ha.neutron_l3_agent.yml
parentc888cc9dfde02983733e2a137f2950d3bbfe7386 (diff)
Renaming test cases for better readability
This patchset proposes a new naming scheme for test cases. The ides is to replace the current numbered scheme <testarea>.tc<number> with: <testarea>.<capability/test case description> The motivation for this is that a the numbering does not convey any information about what the test case is doing and hides to which test case implementation in Functest or Yardstick a test case spec refers. Note: this patchset has not yet been tested in Dovetail itself. Its goal is start a discussion about the naming scheme. JIRA: DOVETAIL-647 Change-Id: If33b4bf88e451b372c2af10895ff92a87d9d961d Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
Diffstat (limited to 'etc/testcase/ha.neutron_l3_agent.yml')
-rw-r--r--etc/testcase/ha.neutron_l3_agent.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/etc/testcase/ha.neutron_l3_agent.yml b/etc/testcase/ha.neutron_l3_agent.yml
new file mode 100644
index 00000000..28669258
--- /dev/null
+++ b/etc/testcase/ha.neutron_l3_agent.yml
@@ -0,0 +1,21 @@
+---
+dovetail.ha.neutron-l3-agent:
+ name: dovetail.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 cirros-ha-11
+ --disk-format qcow2 --container-format bare --public
+ --file /home/opnfv/userconfig/images/cirros-0.3.5-x86_64-disk.img'
+ 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': 'cirros-ha-11', 'flavor': 'm1.tiny'}'"
+ post_condition:
+ - 'source /etc/yardstick/openstack.creds && openstack --insecure image delete cirros-ha-11'
+ report:
+ sub_testcase_list: