summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-01-13 13:12:25 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2016-01-14 08:08:21 +0000
commitc8e55f0a6ff26cbf179ef518713b1fe104ff8a05 (patch)
tree551e48c35d8ee7f5108c8e42deff4a055eb39496
parent733d37cb26a2a8fa2daeffc87d96eb6d1c131c36 (diff)
Create volume type before running Rally tests
Change-Id: Iaf14b797e6cbb7faa32e06fbc038c7f6b14a51cf Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 8a6a68640b3ca93a958fd39aa94cfd07f3eb16ec)
-rwxr-xr-xdocker/run_tests.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/run_tests.sh b/docker/run_tests.sh
index 257fab1d9..bc026d92f 100755
--- a/docker/run_tests.sh
+++ b/docker/run_tests.sh
@@ -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..."