From 199c6048fd209d87c87c0bb40860f4b4b2661a5e Mon Sep 17 00:00:00 2001 From: Pavlo Shchelokovskyy <pshchelokovskyy@mirantis.com> Date: Wed, 18 Mar 2015 10:48:47 +0000 Subject: [PATCH] Recreate tox venv for tempest on stack.sh run Sometimes when certain dependencies are changed, recreating an existing DevStack fails, as tempest is using an old existing venv for tox run, where dependencies are not met. This change should help developers who are reusing their existing DevStack. The gate should not be affected as there the vev is freshly created anyway. Change-Id: Ic42ba1cb0aa829c5120151d3d8cdafa4efc3ffaa --- lib/tempest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tempest b/lib/tempest index fcb0e59937..655bb08368 100644 --- a/lib/tempest +++ b/lib/tempest @@ -337,7 +337,7 @@ function configure_tempest { # NOTE(mtreinish): This must be done after auth settings are added to the tempest config local tmp_cfg_file=$(mktemp) cd $TEMPEST_DIR - tox -evenv -- verify-tempest-config -uro $tmp_cfg_file + tox -revenv -- verify-tempest-config -uro $tmp_cfg_file local compute_api_extensions=${COMPUTE_API_EXTENSIONS:-"all"} if [[ ! -z "$DISABLE_COMPUTE_API_EXTENSIONS" ]]; then