From 11b8649e839f55b1d7e17fa3636f7b160e6c5d22 Mon Sep 17 00:00:00 2001 From: ghanshyam Date: Tue, 7 Aug 2018 08:37:24 +0000 Subject: [PATCH] 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 --- lib/tempest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tempest b/lib/tempest index 60f571ceb3..f83476d42f 100644 --- a/lib/tempest +++ b/lib/tempest @@ -279,8 +279,8 @@ function configure_tempest { iniset $TEMPEST_CONFIG identity-feature-enabled api_v2 False fi iniset $TEMPEST_CONFIG identity auth_version ${TEMPEST_AUTH_VERSION:-v3} - if [[ "$TEMPEST_AUTH_VERSION" != "v2.0" ]]; then - # we're going to disable v2 admin unless we're using v2.0 by default. + if [[ "$TEMPEST_AUTH_VERSION" != "v2" ]]; then + # we're going to disable v2 admin unless we're using v2 by default. iniset $TEMPEST_CONFIG identity-feature-enabled api_v2_admin False fi