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

E2E tests: keep token in memory instead of writing to file #1018

Merged
merged 4 commits into from
Feb 20, 2025
Merged

Conversation

andreasphil
Copy link
Member

Writing the token to a file causes flaky tests, and it might not actually be necessary.

RISDEV-0000

@andreasphil andreasphil force-pushed the flaky-e2e branch 2 times, most recently from 130fa26 to 9d0da67 Compare February 19, 2025 13:42
This is mostly to simplify E2E testing. Since the E2E tests can
sometimes take more than 5 minutes (the default token lifespan), it
could happen that the token used by the E2E tests expires during
long-running tests. Refreshing the token for the E2E tests is a bit
complicated, so for now we'll just extend the token lifespan of the
local Keycloak to avoid the issue.

RISDEV-0000
@andreasphil andreasphil merged commit 61a455e into main Feb 20, 2025
30 checks passed
@andreasphil andreasphil deleted the flaky-e2e branch February 20, 2025 14: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.

1 participant