Browse code

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

Pavlo Shchelokovskyy authored on 2015/03/18 19:48:47
Showing 1 changed files
... ...
@@ -337,7 +337,7 @@ function configure_tempest {
337 337
     # NOTE(mtreinish): This must be done after auth settings are added to the tempest config
338 338
     local tmp_cfg_file=$(mktemp)
339 339
     cd $TEMPEST_DIR
340
-    tox -evenv -- verify-tempest-config -uro $tmp_cfg_file
340
+    tox -revenv -- verify-tempest-config -uro $tmp_cfg_file
341 341
 
342 342
     local compute_api_extensions=${COMPUTE_API_EXTENSIONS:-"all"}
343 343
     if [[ ! -z "$DISABLE_COMPUTE_API_EXTENSIONS" ]]; then