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: make KIC v2 Gateway API v2 config generation deterministic #1302

Merged
merged 1 commit into from
May 27, 2024

Conversation

pmalek
Copy link
Member

@pmalek pmalek commented May 23, 2024

HTTPRoute's header match rules were not sorted and that caused tests to fail.

This PR introduces the sorting step so that each run produces the same output.

@pmalek pmalek requested review from Tieske and GGabriele May 23, 2024 10:28
@pmalek pmalek self-assigned this May 23, 2024
@pmalek pmalek requested a review from a team May 23, 2024 10:28
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 47.05882% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 22.50%. Comparing base (43539a7) to head (04d9c06).
Report is 11 commits behind head on main.

Files Patch % Lines
kong2kic/route.go 47.05% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1302      +/-   ##
==========================================
+ Coverage   22.35%   22.50%   +0.15%     
==========================================
  Files          54       54              
  Lines        5570     4505    -1065     
==========================================
- Hits         1245     1014     -231     
+ Misses       4226     3392     -834     
  Partials       99       99              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pmalek pmalek merged commit 3dc12b8 into main May 27, 2024
39 checks passed
@pmalek pmalek deleted the fix-kic-v2-gateway-api-json-test branch May 27, 2024 10:29
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.

3 participants