Create volume type before running Rally tests 07/6507/1
authorjose.lausuch <jose.lausuch@ericsson.com>
Wed, 13 Jan 2016 12:12:25 +0000 (13:12 +0100)
committerjose.lausuch <jose.lausuch@ericsson.com>
Wed, 13 Jan 2016 12:12:25 +0000 (13:12 +0100)
Change-Id: Iaf14b797e6cbb7faa32e06fbc038c7f6b14a51cf
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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..."