[DPE-9555] fix(test): add explicit relation endpoints for GLAuth-PostgreSQL integration#1322
Merged
marceloneppel merged 1 commit into16/edgefrom Mar 4, 2026
Merged
[DPE-9555] fix(test): add explicit relation endpoints for GLAuth-PostgreSQL integration#1322marceloneppel merged 1 commit into16/edgefrom
marceloneppel merged 1 commit into16/edgefrom
Conversation
…gration Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project status has failed because the head coverage (68.96%) is below the target coverage (70.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## 16/edge #1322 +/- ##
========================================
Coverage 68.96% 68.96%
========================================
Files 16 16
Lines 3809 3809
Branches 574 574
========================================
Hits 2627 2627
Misses 980 980
Partials 202 202 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Merged
2 tasks
dragomirp
approved these changes
Mar 4, 2026
carlcsaposs-canonical
approved these changes
Mar 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
The
test_glauth_integrationintegration test fails across PRs with:The test deploys
glauth-postgresql-k8s(the backing PostgreSQL for GLAuth) from the14/stablechannel. On March 2, 2026,postgresql-k8srev 774 was published to14/stable, which addedldap(requires, interfaceldap) andreceive-ca-cert(requires, interfacecertificate_transfer) endpoints. These new endpoints matchglauth-k8s's existingldap(provides) andsend-ca-cert(provides) endpoints, creating 3 possible interface pairs between the two charms instead of the previous single one (pg-database↔database). This makes the unqualifiedadd_relation("glauth-k8s", "glauth-postgresql-k8s")call ambiguous.The previous
14/stablerevision (rev 494, from February 2025) did not haveldaporreceive-ca-certendpoints, so the relation was unambiguous.Solution
Specify explicit endpoint names (
glauth-k8s:pg-databaseandglauth-postgresql-k8s:database) when adding the database relation between GLAuth and its backing PostgreSQL instance.Checklist