Skip to content

Commit 11b8649

Browse files
author
ghanshyam
committed
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
1 parent ce0759d commit 11b8649

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/tempest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@ function configure_tempest {
279279
iniset $TEMPEST_CONFIG identity-feature-enabled api_v2 False
280280
fi
281281
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.
284284
iniset $TEMPEST_CONFIG identity-feature-enabled api_v2_admin False
285285
fi
286286

0 commit comments

Comments
 (0)