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

Bring unit test JWT token expiry in-line with prod #1082

Merged
merged 1 commit into from
Nov 8, 2022

Conversation

bourgeoisor
Copy link
Member

This PR makes sure that the unit test for the userservice are using the same JWT token expiry than prod, which is currently set to 3,600 (https://github.com/GoogleCloudPlatform/bank-of-anthos/blob/main/dev-kubernetes-manifests/userservice.yaml#L62-L63)

This fix is an attempt to fix a flaky test that sometime fails with jwt.exceptions.ExpiredSignatureError: Signature has expired, which was seen both on the main branch, and in PRs, e.g.:

@bourgeoisor bourgeoisor requested a review from a team as a code owner November 8, 2022 16:59
@github-actions
Copy link

github-actions bot commented Nov 8, 2022

🚀 PR staged at http://34.28.50.249

@bourgeoisor bourgeoisor merged commit ea84899 into main Nov 8, 2022
@bourgeoisor bourgeoisor deleted the issue-consistent-jwt-expiry-userservice branch November 8, 2022 17:44
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