X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fcharm%2Fosm-pol%2Ftests%2Fintegration%2Ftest_charm.py;h=92100006ca64138f06d71643229c4b2d17dfb9a4;hb=34824fcfc823c7446ed5708a0a8e02950c369209;hp=e2f3307d7f9a46868dc8b95268c5b87108fca00b;hpb=bb2f914425f0e7f64014d3edd6e55a83fe108975;p=osm%2Fdevops.git diff --git a/installers/charm/osm-pol/tests/integration/test_charm.py b/installers/charm/osm-pol/tests/integration/test_charm.py index e2f3307d..92100006 100644 --- a/installers/charm/osm-pol/tests/integration/test_charm.py +++ b/installers/charm/osm-pol/tests/integration/test_charm.py @@ -51,10 +51,10 @@ async def test_pol_is_deployed(ops_test: OpsTest): await asyncio.gather( ops_test.model.deploy( - charm, resources=resources, application_name=POL_APP, series="focal" + charm, resources=resources, application_name=POL_APP, series="jammy" ), ops_test.model.deploy(KAFKA_CHARM, application_name=KAFKA_APP, channel="stable"), - ops_test.model.deploy(MONGO_DB_CHARM, application_name=MONGO_DB_APP, channel="stable"), + ops_test.model.deploy(MONGO_DB_CHARM, application_name=MONGO_DB_APP, channel="5/edge"), ops_test.model.deploy(MARIADB_CHARM, application_name=MARIADB_APP, channel="stable"), ops_test.model.deploy(ZOOKEEPER_CHARM, application_name=ZOOKEEPER_APP, channel="stable"), ) @@ -70,9 +70,11 @@ async def test_pol_is_deployed(ops_test: OpsTest): logger.info("Adding relations for other components") await ops_test.model.add_relation(KAFKA_APP, ZOOKEEPER_APP) - logger.info("Adding relations") + logger.info("Adding relations for POL") await ops_test.model.add_relation(POL_APP, KAFKA_APP) - await ops_test.model.add_relation(POL_APP, MONGO_DB_APP) + await ops_test.model.add_relation( + "{}:mongodb".format(POL_APP), "{}:database".format(MONGO_DB_APP) + ) await ops_test.model.add_relation(POL_APP, MARIADB_APP) async with ops_test.fast_forward():