diff options
author | meimei <meimei@huawei.com> | 2016-07-13 10:24:06 +0800 |
---|---|---|
committer | Jose Lausuch <jose.lausuch@ericsson.com> | 2016-07-13 08:14:07 +0000 |
commit | 8a86b1f06579b6c294e768d937ea2e18903920e2 (patch) | |
tree | 84a5ba259120f23ce481d376828afd0757beacff | |
parent | 4dedc11a04e334acb8db2a54083613264325c90c (diff) |
[multisite] add interface of multisite test suite
JIRA: FUNCTEST-179
Change-Id: I23ae0f73a6efb410e54fedd75537bb2e219344e0
Signed-off-by: meimei <meimei@huawei.com>
-rwxr-xr-x | ci/exec_test.sh | 3 | ||||
-rw-r--r-- | ci/testcases.yaml | 8 | ||||
-rw-r--r-- | testcases/features/multisite.py | 21 |
3 files changed, 32 insertions, 0 deletions
diff --git a/ci/exec_test.sh b/ci/exec_test.sh index 23cb8274..0b434547 100755 --- a/ci/exec_test.sh +++ b/ci/exec_test.sh @@ -141,6 +141,9 @@ function run_test(){ # TODO put the link to Moon script to be run (if test runnable) here ${repos_dir}/moon/tests/run_tests.sh ;; + "multisite") + python ${FUNCTEST_REPO_DIR}/testcases/features/multisite.py + ;; *) echo "The test case '${test_name}' does not exist." exit 1 diff --git a/ci/testcases.yaml b/ci/testcases.yaml index 25aba04e..2cf7cc4c 100644 --- a/ci/testcases.yaml +++ b/ci/testcases.yaml @@ -158,6 +158,14 @@ tiers: dependencies: installer: 'compass' scenario: '(odl)*(moon)' + - + name: multisite + criteria: 'status == "PASS"' + description: >- + Test suite from kingbird + dependencies: + installer: 'compass' + scenario: 'multisite' - name: openstack diff --git a/testcases/features/multisite.py b/testcases/features/multisite.py new file mode 100644 index 00000000..6d492182 --- /dev/null +++ b/testcases/features/multisite.py @@ -0,0 +1,21 @@ +#!/usr/bin/python +# +# Copyright (c) 2015 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 +# +# Execute Multisite Tempest test cases +# +import functest.utils.functest_logger as ft_logger + +logger = ft_logger.Logger("multisite").getLogger() + + +def main(): + logger.info("multisite OK") + +if __name__ == '__main__': + main() |