Skip to content

Commit

Permalink
tests: remove extra relation between oidc and dex (#1009)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
DnPlas authored Aug 7, 2024
1 parent 4b6bda6 commit 34801f6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/integration/test_bundle_deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 34801f6

Please sign in to comment.