X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fcharm%2Fosm-ro%2Ftests%2Fintegration%2Ftest_charm.py;fp=installers%2Fcharm%2Fosm-ro%2Ftests%2Fintegration%2Ftest_charm.py;h=38e9ad9ad74bd1c43b59f2884f5a00ce6dcad0ca;hb=1123e827b6fbe6d35adc3602da7e0f3451e80755;hp=38dc40f9663f78a7d89d25911018ca3449c8cf1c;hpb=b6c30b4ef1d0d4a58d07dfd7a47ae8545eb3b5f1;p=osm%2Fdevops.git diff --git a/installers/charm/osm-ro/tests/integration/test_charm.py b/installers/charm/osm-ro/tests/integration/test_charm.py index 38dc40f9..38e9ad9a 100644 --- a/installers/charm/osm-ro/tests/integration/test_charm.py +++ b/installers/charm/osm-ro/tests/integration/test_charm.py @@ -48,10 +48,10 @@ async def test_ro_is_deployed(ops_test: OpsTest): resources = {"ro-image": METADATA["resources"]["ro-image"]["upstream-source"]} await asyncio.gather( - ops_test.model.deploy(charm, resources=resources, application_name=RO_APP), + ops_test.model.deploy(charm, resources=resources, application_name=RO_APP, series="jammy"), ops_test.model.deploy(ZOOKEEPER_CHARM, application_name=ZOOKEEPER_APP, channel="stable"), 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="edge"), + ops_test.model.deploy(MONGO_DB_CHARM, application_name=MONGO_DB_APP, channel="5/edge"), ) async with ops_test.fast_forward(): @@ -65,7 +65,9 @@ async def test_ro_is_deployed(ops_test: OpsTest): logger.info("Adding relations") await ops_test.model.add_relation(KAFKA_APP, ZOOKEEPER_APP) - await ops_test.model.add_relation(RO_APP, MONGO_DB_APP) + await ops_test.model.add_relation( + "{}:mongodb".format(RO_APP), "{}:database".format(MONGO_DB_APP) + ) await ops_test.model.add_relation(RO_APP, KAFKA_APP) async with ops_test.fast_forward():