Fix functional post test_hook

1) Set correct $CINDERCLIENT_DIR to make Jenkins happy
2) Set OS_VOLUME_API_VERSION=2 to run with Cinder API v2 on gates

Change-Id: Id6be541fa2862eb833ed645e42bedcac6cef19dd
This commit is contained in:
Ivan Kolodyazhny
2015-06-09 00:03:12 +03:00
parent 91bf760989
commit bae4c78537
2 changed files with 2 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ function generate_testr_results {
fi
}
export CINDERCLIENT_DIR="$BASE/python-cinderclient"
export CINDERCLIENT_DIR="$BASE/new/python-cinderclient"
sudo chown -R jenkins:stack $CINDERCLIENT_DIR

View File

@@ -29,6 +29,7 @@ commands=
[testenv:functional]
setenv =
OS_TEST_PATH = ./cinderclient/tests/functional
OS_VOLUME_API_VERSION = 2
[tox:jenkins]
downloadcache = ~/cache/pip