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

Make max number of inflight captchas configurable #1827

Merged
merged 2 commits into from Aug 28, 2023

Conversation

frederikrothenberger
Copy link
Member

@frederikrothenberger frederikrothenberger commented Aug 28, 2023

This PR fixes a long standing issue with a very long running integration test that maxes out a non configurable limit.
It is fixed by making the limit configurabel. This is done in preparation for the API v2 registration endpoint that would also have duplicated the long running test aggravating the issue further. Fixing this issue cuts down rust integration test time by about 90 seconds.

In addition, the storage tests for the persistent state are made more robust so that they no longer break on persistent state changes.

This PR fixes a long standing issue with a very long running integration
test that maxes out a non configurable limit.
It is fixed by making the limit configurabel. This is done in preparation
for the API v2 registration endpoint that would also have duplicated
the long running test aggravating the issue further.
Fixing this issue cuts down rust integration test time by about 90 seconds.

In addition, the storage tests for the persistent state are made more
robust so that they no longer break on persistent state changes.
Copy link
Collaborator

@przydatek przydatek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

src/internet_identity/src/storage/tests.rs Show resolved Hide resolved
@frederikrothenberger frederikrothenberger added this pull request to the merge queue Aug 28, 2023
Merged via the queue into main with commit 50c5524 Aug 28, 2023
48 checks passed
@frederikrothenberger frederikrothenberger deleted the frederik/captcha-limit-config branch August 28, 2023 11:50
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