X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=tests%2Fintegration%2Ftest_metrics_proxy.py;h=e7fa92095a8b28b058ddb9249aaf12a58ddc2429;hp=98285fdf8924a9e29fd4e95eb78ec66963b4acfe;hb=7bf2f4d5ba51d8a6909a8709aeda200ddb153b03;hpb=5e08a0e8fa4fd9d0156d28f8f4e53e5b176c704a diff --git a/tests/integration/test_metrics_proxy.py b/tests/integration/test_metrics_proxy.py index 98285fd..e7fa920 100644 --- a/tests/integration/test_metrics_proxy.py +++ b/tests/integration/test_metrics_proxy.py @@ -130,8 +130,8 @@ class TestCharm(base.TestN2VC): event_loop, ) - while self.running(): - logging.debug("Waiting for test to finish...") + while await self.running(): + print("Waiting for test to finish...") await asyncio.sleep(15) logging.debug("test_metrics_proxy stopped")