summaryrefslogtreecommitdiffstats
path: root/etc/testcase/functest.rally.gnocchi.yml
blob: 6e0063c6e73c4d468a690e0fdcec1d75b54776a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
##############################################################################
# Copyright (c) 2019 opnfv.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

---
functest.rally.gnocchi:
  name: functest.rally.gnocchi
  objective: Run all Functest Rally Gnocchi test cases
  validate:
    type: functest
    testcase: rally_full
    image_name: opnfv/functest-benchmarking
    pre_condition:
      - 'cp /home/opnfv/userconfig/rally_gnocchi_testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml'
  report:
    source_archive_files:
      - functest.log
      - rally_full/gnocchi.json
      - rally_full/rally_full.html
      - rally_full/rally_full.xml
    dest_archive_files:
      - rally_gnocchi_logs/functest.rally.gnocchi.functest.log
      - rally_gnocchi_logs/gnocchi.json
      - rally_gnocchi_logs/gnocchi.html
      - rally_gnocchi_logs/gnocchi.xml
    check_results_files:
      - 'functest_results.txt'
    sub_testcase_list:
      - 'Gnocchi.list_capabilities'
      - 'Gnocchi.get_status'
      - 'GnocchiArchivePolicyRule.list_archive_policy_rule'
      - 'GnocchiArchivePolicyRule.create_archive_policy_rule'
      - 'GnocchiArchivePolicyRule.create_delete_archive_policy_rule'
      - 'GnocchiArchivePolicy.list_archive_policy'
      - 'GnocchiArchivePolicy.create_archive_policy'
      - 'GnocchiArchivePolicy.create_delete_archive_policy'
      - 'GnocchiResourceType.list_resource_type'
      - 'GnocchiResourceType.create_resource_type'
      - 'GnocchiResourceType.create_delete_resource_type'
      - 'GnocchiMetric.list_metric'
      - 'GnocchiMetric.create_metric'
      - 'GnocchiMetric.create_delete_metric'
      - 'GnocchiResource.create_resource'
      - 'GnocchiResource.create_delete_resource'