Create volume type before running Rally tests 45/6645/1
authorjose.lausuch <jose.lausuch@ericsson.com>
Wed, 13 Jan 2016 12:12:25 +0000 (13:12 +0100)
committerMorgan Richomme <morgan.richomme@orange.com>
Thu, 14 Jan 2016 08:08:21 +0000 (08:08 +0000)
Change-Id: Iaf14b797e6cbb7faa32e06fbc038c7f6b14a51cf
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit 8a6a68640b3ca93a958fd39aa94cfd07f3eb16ec)

docker/run_tests.sh

index 257fab1..bc026d9 100755 (executable)
@@ -95,9 +95,12 @@ function run_test(){
         ;;
         "rally")
             info "Running Rally benchmark suite..."
+            cinder type-create volume-test #provisional
             python ${FUNCTEST_REPO_DIR}/testcases/VIM/OpenStack/CI/libraries/run_rally.py \
                 --debug all ${report}
+            cinder type-delete $(cinder type-list|grep test|awk '{print $2}')
             clean_openstack
+
         ;;
         "bgpvpn_template")
             info "Running BGPVPN Tempest test case..."