-
Notifications
You must be signed in to change notification settings - Fork 132
tests: add tests for custom entity partial apply #1625
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
Conversation
055ee10
to
37d8598
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1625 +/- ##
=======================================
Coverage 29.03% 29.03%
=======================================
Files 67 67
Lines 6912 6912
=======================================
Hits 2007 2007
Misses 4755 4755
Partials 150 150 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
go.mod
Outdated
@@ -13,14 +13,14 @@ require ( | |||
github.com/fatih/color v1.18.0 | |||
github.com/google/go-cmp v0.7.0 | |||
github.com/kong/go-apiops v0.1.42 | |||
github.com/kong/go-database-reconciler v1.22.5 | |||
github.com/kong/go-database-reconciler v1.22.6-0.20250507085334-9b3909e50a57 |
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.
To be updated after gdr is released
37d8598
to
667df51
Compare
tests/integration/apply_test.go
Outdated
// - konnect | ||
func Test_Apply_Custom_Entities_Konnect(t *testing.T) { | ||
t.Setenv("DECK_KONNECT_CONTROL_PLANE_NAME", "default") | ||
runWhen(t, "konnect", "") |
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.
We can do runWhenEnterpriseOrKonnect in the above test. This one shouldn't be required then.
667df51
to
b1dcfba
Compare
Summary
In this PR, we are bumping Go database reconciler and adding integrations tests to run
gateway apply
for custom entities.PR on GDR: Kong/go-database-reconciler#267
Issues resolved
#1568
Testing