Skip to content

Commit dcd4b64

Browse files
committed
Increase KEYSTONE_LOCKOUT_DURATION to 10
Transient failures were being reported because the current lockout period for users was too short. While this does increase the run time IdentityV3UsersTest.test_user_account_lockout, it allows for more flexibility if there is network latency or some other factor that cause the lockout to expired before the next authentication. Change-Id: I61bc39bbc35ac414b4a72929a90845956c99eb1a Closes-Bug: 1693917
1 parent 9234316 commit dcd4b64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/keystone

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ KEYSTONE_SERVICE_URI_V3=$KEYSTONE_SERVICE_URI/v3
124124
# Security compliance
125125
KEYSTONE_SECURITY_COMPLIANCE_ENABLED=${KEYSTONE_SECURITY_COMPLIANCE_ENABLED:-True}
126126
KEYSTONE_LOCKOUT_FAILURE_ATTEMPTS=${KEYSTONE_LOCKOUT_FAILURE_ATTEMPTS:-2}
127-
KEYSTONE_LOCKOUT_DURATION=${KEYSTONE_LOCKOUT_DURATION:-5}
127+
KEYSTONE_LOCKOUT_DURATION=${KEYSTONE_LOCKOUT_DURATION:-10}
128128
KEYSTONE_UNIQUE_LAST_PASSWORD_COUNT=${KEYSTONE_UNIQUE_LAST_PASSWORD_COUNT:-2}
129129

130130

0 commit comments

Comments
 (0)