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

test improvement #1146

Merged
merged 1 commit into from
Feb 10, 2025
Merged

test improvement #1146

merged 1 commit into from
Feb 10, 2025

Conversation

maksymvavilov
Copy link
Contributor

@maksymvavilov maksymvavilov commented Jan 30, 2025

Improves two Rate Limit Policy tests:

  1. The test does not evaluate one of the conditions (always passes)
  2. The test does not check for the second policy. Leaves a possibility of false positive.

Copy link

codecov bot commented Jan 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.43%. Comparing base (20a0530) to head (c96399a).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1146      +/-   ##
==========================================
+ Coverage   83.42%   83.43%   +0.01%     
==========================================
  Files          81       81              
  Lines        6943     6943              
==========================================
+ Hits         5792     5793       +1     
  Misses        926      926              
+ Partials      225      224       -1     
Flag Coverage Δ
bare-k8s-integration 22.67% <ø> (+0.01%) ⬆️
controllers-integration 74.92% <ø> (-0.08%) ⬇️
envoygateway-integration 40.58% <ø> (+0.23%) ⬆️
gatewayapi-integration 19.68% <ø> (+0.21%) ⬆️
istio-integration 43.21% <ø> (-0.14%) ⬇️
unit 19.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
api/v1beta1 (u) 90.00% <ø> (ø)
api/v1beta2 (u) ∅ <ø> (∅)
pkg/common (u) ∅ <ø> (∅)
pkg/istio (u) 62.06% <ø> (ø)
pkg/log (u) 93.18% <ø> (ø)
pkg/reconcilers (u) 24.67% <ø> (ø)
pkg/rlptools (u) ∅ <ø> (∅)
controllers (i) 86.70% <ø> (-0.05%) ⬇️

see 5 files with indirect coverage changes

@maksymvavilov maksymvavilov changed the title test fix test improvement Jan 30, 2025
@maksymvavilov maksymvavilov force-pushed the rlp-test-fix branch 2 times, most recently from 6851820 to 46fa7bf Compare January 30, 2025 16:08
@maksymvavilov
Copy link
Contributor Author

@KevFan would you have a moment for a sanity check of this one?

Copy link
Contributor

@KevFan KevFan left a comment

Choose a reason for hiding this comment

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

Looks good to me! 👍

@eguzki eguzki enabled auto-merge February 7, 2025 10:17
Signed-off-by: Maskym Vavilov <[email protected]>
@maksymvavilov maksymvavilov requested a review from a team as a code owner February 10, 2025 10:47
@eguzki eguzki added this pull request to the merge queue Feb 10, 2025
Merged via the queue into main with commit 269d58a Feb 10, 2025
39 of 41 checks passed
@maksymvavilov maksymvavilov deleted the rlp-test-fix branch February 10, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants