X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=tests%2Fintegration%2Ftest_multivdu_multicharm.py;h=b87937345e3272b33e6bf9948cafa8e1876521d4;hp=99ba878df2f18315e24db3bd984c28c63de4b827;hb=d4ec83bbe1d74a7432ea472dfe5b748d1611bde4;hpb=13950825f557fdc7f8e0859c1d10b63c5e57cfea diff --git a/tests/integration/test_multivdu_multicharm.py b/tests/integration/test_multivdu_multicharm.py index 99ba878..b879373 100644 --- a/tests/integration/test_multivdu_multicharm.py +++ b/tests/integration/test_multivdu_multicharm.py @@ -144,6 +144,11 @@ class TestCharm(base.TestN2VC): juju: charm: proxy-ci proxy: true + # Relation needs to map to the vdu providing or + # requiring, so that we can map to the deployed app. + relation: + - provides: dataVM:db + requires: mgmtVM:app initial-config-primitive: - seq: '1' name: test @@ -170,9 +175,10 @@ class TestCharm(base.TestN2VC): ) vnf_index += 1 - while self.running(): + while await self.running(): logging.debug("Waiting for test to finish...") await asyncio.sleep(15) - logging.debug("test_charm_native stopped") + # assert False + logging.debug("test_multivdu_multicharm stopped") return 'ok'