From 34801f6e27bd0d4843692c7565e49af26a21f62c Mon Sep 17 00:00:00 2001 From: Daniela Plascencia Date: Wed, 7 Aug 2024 10:33:54 +0200 Subject: [PATCH] tests: remove extra relation between oidc and dex (#1009) The dex-issuer-config relation between oidc-gateeeker and dex-auth is not needed as the bundle already defines it. Removing it from the test file to avoid issues with juju applying a relation that already exists. --- tests/integration/test_bundle_deployment.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/integration/test_bundle_deployment.py b/tests/integration/test_bundle_deployment.py index 267ba146..b874e9b2 100644 --- a/tests/integration/test_bundle_deployment.py +++ b/tests/integration/test_bundle_deployment.py @@ -50,10 +50,6 @@ async def test_bundle_deployment_works(self, ops_test: OpsTest, lightkube_client await ops_test.model.applications["dex-auth"].set_config({"public-url": url}) await ops_test.model.applications["oidc-gatekeeper"].set_config({"public-url": url}) - else: - await ops_test.model.add_relation( - "oidc-gatekeeper:dex-oidc-config", f"dex-auth:dex-oidc-config" - ) # Wait for the whole bundle to become active and idle await ops_test.model.wait_for_idle(