summaryrefslogtreecommitdiffstats
path: root/tests/opnfv/test_suites/opnfv_os-odl_l2-nofeature-ha_daily.yaml
blob: 78883c9dac4d731645b2bc45f51b768d36241b30 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
##############################################################################
# Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
#
# 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
##############################################################################
---
# os-odl_l2-nofeature-ha daily task suite

schema: "yardstick:suite:0.1"

name: "os-odl_l2-nofeature-ha"
test_cases_dir: "tests/opnfv/test_cases/"
test_cases:
-
  file_name: opnfv_yardstick_tc002.yaml
-
  file_name: opnfv_yardstick_tc005.yaml
-
  file_name: opnfv_yardstick_tc010.yaml
-
  file_name: opnfv_yardstick_tc011.yaml
  constraint:
      installer: compass
-
  file_name: opnfv_yardstick_tc012.yaml
-
  file_name: opnfv_yardstick_tc014.yaml
-
  file_name: opnfv_yardstick_tc037.yaml
-
  file_name: opnfv_yardstick_tc055.yaml
  constraint:
      installer: compass
      pod: huawei-pod1
  task_args:
      huawei-pod1: '{"file": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
      "host": "node5"}'
-
  file_name: opnfv_yardstick_tc063.yaml
  constraint:
      installer: compass
      pod: huawei-pod1
  task_args:
      huawei-pod1: '{"file": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
      "host": "node5"}'
-
  file_name: opnfv_yardstick_tc069.yaml
-
  file_name: opnfv_yardstick_tc070.yaml
-
  file_name: opnfv_yardstick_tc071.yaml
-
  file_name: opnfv_yardstick_tc072.yaml
-
  file_name: opnfv_yardstick_tc075.yaml
  constraint:
      installer: compass
      pod: huawei-pod1
  task_args:
      huawei-pod1: '{"file": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
      "host": "node1"}'
> functest_yaml) self.assertEqual(env_test, {'scenario': 'odl'}) env_test = getTestEnv('foo', functest_yaml) self.assertEqual(env_test, '') def test_isTestRunnable(self): test = isTestRunnable('ovno', functest_yaml) self.assertFalse(test) test = isTestRunnable('doctor', functest_yaml) self.assertTrue(test) test = isTestRunnable('promise', functest_yaml) self.assertTrue(test) test = isTestRunnable('functest/onos', functest_yaml) self.assertFalse(test) test = isTestRunnable('functest/odl', functest_yaml) self.assertTrue(test) test = isTestRunnable('functest/vping_ssh', functest_yaml) self.assertTrue(test) test = isTestRunnable('functest/vping_userdata', functest_yaml) self.assertTrue(test) test = isTestRunnable('functest/tempest', functest_yaml) self.assertTrue(test) test = isTestRunnable('functest/rally', functest_yaml) self.assertTrue(test) test = isTestRunnable('functest/vims', functest_yaml) self.assertTrue(test) def test_generateTestcaseList(self): test = generateTestcaseList(functest_yaml) expected_list = ("vping_ssh vping_userdata tempest odl doctor " + "promise policy-test odl-vpn_service-tests vims " + "rally ") self.assertEqual(test, expected_list) def tearDown(self): os.environ["INSTALLER_TYPE"] = "" os.environ["DEPLOY_SCENARIO"] = "" if __name__ == '__main__': unittest.main()