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

fix(authn): apply fail delay only if credentials/sessions are supplied #1920

Merged

Conversation

eusebiu-constantin-petu-dbk
Copy link
Collaborator

What type of PR is this?

Which issue does this PR fix:
#1914

What does this PR do / Why do we need it:

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

Merging #1920 (f8d1f8c) into main (ab45356) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1920      +/-   ##
==========================================
- Coverage   91.94%   91.93%   -0.01%     
==========================================
  Files         153      153              
  Lines       26437    26437              
==========================================
- Hits        24307    24305       -2     
- Misses       1573     1574       +1     
- Partials      557      558       +1     
Files Coverage Δ
pkg/api/authn.go 95.25% <100.00%> (ø)

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

andaaron
andaaron previously approved these changes Oct 10, 2023
@andaaron
Copy link
Contributor

I opened #1923 for the test failure

pkg/api/authn.go Outdated Show resolved Hide resolved
@andaaron andaaron merged commit d1fcab4 into project-zot:main Oct 12, 2023
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.

[Bug]: delay on auth testing
3 participants