From: meimei Date: Wed, 13 Jul 2016 02:24:06 +0000 (+0800) Subject: [multisite] add interface of multisite test suite X-Git-Tag: 0.2~1408 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=8a86b1f06579b6c294e768d937ea2e18903920e2;p=functest-xtesting.git [multisite] add interface of multisite test suite JIRA: FUNCTEST-179 Change-Id: I23ae0f73a6efb410e54fedd75537bb2e219344e0 Signed-off-by: meimei --- 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()