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

tests: add integration tests to avoid false diffs in plugin protocols #1585

Merged
merged 2 commits into from
Apr 7, 2025

Conversation

harshadixit12
Copy link
Contributor

@harshadixit12 harshadixit12 commented Apr 3, 2025

Changes

tests: add integration tests to verify no false diff when protocols are reordered in plugins

Fixes #1571

Depends on:
Kong/go-database-reconciler#240

@codecov-commenter
Copy link

codecov-commenter commented Apr 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 28.91%. Comparing base (82754ea) to head (5854e71).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1585   +/-   ##
=======================================
  Coverage   28.91%   28.91%           
=======================================
  Files          62       62           
  Lines        6765     6765           
=======================================
  Hits         1956     1956           
  Misses       4667     4667           
  Partials      142      142           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@harshadixit12 harshadixit12 changed the title tests: add integration tests to verify empty diff when protocols are … tests: add integration tests to avoid false diffs in plugin protocols Apr 7, 2025
@harshadixit12
Copy link
Contributor Author

Note: failing tests in CI should be fixed with https://github.com/Kong/deck/pull/1586/files

@harshadixit12 harshadixit12 marked this pull request as ready for review April 7, 2025 05:36
go.mod Outdated
@@ -13,7 +13,7 @@ require (
github.com/fatih/color v1.18.0
github.com/google/go-cmp v0.7.0
github.com/kong/go-apiops v0.1.41
github.com/kong/go-database-reconciler v1.22.1
github.com/kong/go-database-reconciler v1.22.2-0.20250403105251-3a1014c74cf4
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll bump the version once the failing tests are fixed on main and rebased here.

@harshadixit12 harshadixit12 force-pushed the fix/re-sync-ip-restriction-plugin-false-diff branch from 4002ad7 to 5854e71 Compare April 7, 2025 05:59
@harshadixit12 harshadixit12 merged commit 0c1c671 into main Apr 7, 2025
24 checks passed
@harshadixit12 harshadixit12 deleted the fix/re-sync-ip-restriction-plugin-false-diff branch April 7, 2025 06:35
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.

deck shows false diffs while using ip-restriction plugin with Konnect
3 participants