From 8a86b1f06579b6c294e768d937ea2e18903920e2 Mon Sep 17 00:00:00 2001 From: meimei Date: Wed, 13 Jul 2016 10:24:06 +0800 Subject: [multisite] add interface of multisite test suite JIRA: FUNCTEST-179 Change-Id: I23ae0f73a6efb410e54fedd75537bb2e219344e0 Signed-off-by: meimei --- ci/exec_test.sh | 3 +++ ci/testcases.yaml | 8 ++++++++ testcases/features/multisite.py | 21 +++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 testcases/features/multisite.py diff --git a/ci/exec_test.sh b/ci/exec_test.sh index 23cb82742..0b434547d 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 25aba04e5..2cf7cc4c2 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 000000000..6d492182c --- /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() -- cgit 1.2.3-korg