Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JCN-266-assume-role-expiration #10

Merged
merged 3 commits into from May 12, 2020
Merged

Conversation

Nataniel4
Copy link
Contributor

@Nataniel4 Nataniel4 commented May 12, 2020

LINK AL TICKET
https://fizzmod.atlassian.net/browse/JCN-266

DESCRIPCIÓN DEL REQUERIMIENTO
Se encontró un BUG en el cache interno de tiempo de expiración del AssumeRole

El error es que se esta comparando de la siguiente forma:
const hasExpired = this._credentialsExpiration < new Date();
Cuando la variable this._credentialsExpiration contiene un ISOString como por ejemplo 2020-05-12T15:58:47.031Z.

DESCRIPCIÓN DE LA SOLUCIÓN
Se corrigió la validación de las fechas de expiración y se corrigieron los tests para que se pruebe correctamente esto.

@Nataniel4 Nataniel4 requested a review from juanhapes May 12, 2020 18:51
@juanhapes juanhapes merged commit 096614e into master May 12, 2020
@jormaechea jormaechea deleted the JCN-266-assume-role-expiration branch January 10, 2023 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants