K8s Juju connector
[osm/N2VC.git] / tests / integration / test_multivdu_multicharm.py
index 99ba878..b879373 100644 (file)
@@ -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'