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
diff --git a/lib/tempest b/lib/tempest
index fcb0e59..655bb08 100644
--- a/lib/tempest
+++ b/lib/tempest
@@ -337,7 +337,7 @@
# 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