From b8191223cc57c3f58eee67b8e2dd7462faa734cd Mon Sep 17 00:00:00 2001 From: Daniela Plascencia Date: Wed, 20 Sep 2023 14:29:27 +0200 Subject: [PATCH] tests: deploy kfp-profile-controller to create the mlpipeline-minio-artifact secret --- charms/argo-controller/tests/integration/test_charm.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/charms/argo-controller/tests/integration/test_charm.py b/charms/argo-controller/tests/integration/test_charm.py index bc147b9..c09942f 100644 --- a/charms/argo-controller/tests/integration/test_charm.py +++ b/charms/argo-controller/tests/integration/test_charm.py @@ -37,10 +37,18 @@ async def test_build_and_deploy_with_relations(ops_test: OpsTest): resources=resources, trust=True, ) + await ops_test.model.deploy( + entity_url="kfp-profile-controller", + channel="latest/edge", + trust=True, + ) # Deploy required relations await ops_test.model.deploy(entity_url="minio", config=MINIO_CONFIG) await ops_test.model.add_relation(f"{APP_NAME}:object-storage", "minio:object-storage") + await ops_test.model.add_relation( + "kfp-profile-controller:object-storage", "minio:object-storage" + ) await ops_test.model.wait_for_idle(timeout=60 * 10) # TODO: This does not handle blocked status right. Sometimes it passes when argo-controller