-
Notifications
You must be signed in to change notification settings - Fork 282
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
Ensure that challenge response contains body #4233
Ensure that challenge response contains body #4233
Conversation
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
@peternied I pushed a fix for the resource-focused tests. For each request in the test it was holding the response in memory which became larger since the response body was now populated. Instead of returning the entire request object, I changed it to only return the status code. This better isolates the resources being tested to the resources of the cluster and not of the test case. |
@cwperks Could you look into that test failure from |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4233 +/- ##
==========================================
- Coverage 66.17% 66.04% -0.14%
==========================================
Files 301 301
Lines 21708 21709 +1
Branches 3506 3506
==========================================
- Hits 14365 14337 -28
- Misses 5580 5610 +30
+ Partials 1763 1762 -1
|
@peternied I am seeing AddressAlreadyInUse errors:
I will file an issue to see if these errors can be systematically addressed. iirc it does port randomization, but I wonder if there can be port randomization with memory to not assign previously allocated ports. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cwperks Are we only focusing on BasicAuth for this one?
Yes, this was the instance where the response changed from 2.10 -> 2.11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Signed-off-by: Craig Perkins <[email protected]> (cherry picked from commit a528c91) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Craig Perkins <[email protected]>
Description
Included
Unauthorized
in the body of the challenge response to be consistent with the behavior from 2.10 and before.Bug fix
Issues Resolved
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.