From e98b6bfeece4b68b439b67b5f2e3ed5352595510 Mon Sep 17 00:00:00 2001
From: Juha Kosonen <juha.kosonen@nokia.com>
Date: Tue, 10 May 2016 14:25:38 +0000
Subject: Enable sanity mode of Rally test for the CI runs

JIRA: FUNCTEST-241

Change-Id: Ie37657bf9e8c01ae4126c1c45146d8aadb2c5775
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
---
 ci/exec_test.sh   |  7 +++++--
 ci/testcases.yaml | 20 ++++++++++----------
 2 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/ci/exec_test.sh b/ci/exec_test.sh
index f778a2fb2..bd79dccd1 100755
--- a/ci/exec_test.sh
+++ b/ci/exec_test.sh
@@ -109,10 +109,13 @@ function run_test(){
             python ${FUNCTEST_REPO_DIR}/testcases/vIMS/CI/vIMS.py \
                 $debug $clean_flag $report
         ;;
-        "rally")
+        "rally_full")
             python ${FUNCTEST_REPO_DIR}/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py \
                 $debug $clean_flag all $report
-
+        ;;
+        "rally_sanity")
+            python ${FUNCTEST_REPO_DIR}/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py \
+                $debug $clean_flag --sanity all $report
         ;;
         "bgpvpn")
             pushd ${repos_dir}/bgpvpn/
diff --git a/ci/testcases.yaml b/ci/testcases.yaml
index 045068154..35a4b1c4e 100644
--- a/ci/testcases.yaml
+++ b/ci/testcases.yaml
@@ -54,15 +54,15 @@ tiers:
             #        installer: ''
             #        scenario: ''
             #
-            #-
-            #    name: rally_sanity
-            #    description: >-
-            #        This test case runs a sub group of tests of the OpenStack
-            #        Rally suite in smoke mode.
-            #    dependencies:
-            #        installer: ''
-            #        scenario: ''
-            #
+            -
+                name: rally_sanity
+                description: >-
+                    This test case runs a sub group of tests of the OpenStack
+                    Rally suite in smoke mode.
+                dependencies:
+                    installer: ''
+                    scenario: ''
+
             #-
             #    name: security_groups
             #    description: >-
@@ -167,7 +167,7 @@ tiers:
             Rally suite from the OpenStack community.
         testcases:
             -
-                name: rally
+                name: rally_full
                 description: >-
                     This test case runs the full suite of scenarios of the OpenStack
                     Rally suite using several threads and iterations.
-- 
cgit