Browse code

Fix TEMPEST_AUTH_VERSION comparision condition for identity v2

TEMPEST_AUTH_VERSION should be 'v3' or 'v2' not 'v2.0'.
To disable the identity v2 admin tests TEMPEST_AUTH_VERSION is
being compared with 'v2.0' which is incorrect.

Change-Id: I5f7e3bcf733edbbee06016bcad4845dda552815e

ghanshyam authored on 2018/08/07 17:37:24
Showing 1 changed files
... ...
@@ -279,8 +279,8 @@ function configure_tempest {
279 279
         iniset $TEMPEST_CONFIG identity-feature-enabled api_v2 False
280 280
     fi
281 281
     iniset $TEMPEST_CONFIG identity auth_version ${TEMPEST_AUTH_VERSION:-v3}
282
-    if [[ "$TEMPEST_AUTH_VERSION" != "v2.0" ]]; then
283
-        # we're going to disable v2 admin unless we're using v2.0 by default.
282
+    if [[ "$TEMPEST_AUTH_VERSION" != "v2" ]]; then
283
+        # we're going to disable v2 admin unless we're using v2 by default.
284 284
         iniset $TEMPEST_CONFIG identity-feature-enabled api_v2_admin False
285 285
     fi
286 286