projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Workaround for bug 816
[osm/N2VC.git]
/
tests
/
integration
/
test_metrics_proxy.py
diff --git
a/tests/integration/test_metrics_proxy.py
b/tests/integration/test_metrics_proxy.py
index
98285fd
..
81501b0
100644
(file)
--- a/
tests/integration/test_metrics_proxy.py
+++ b/
tests/integration/test_metrics_proxy.py
@@
-109,7
+109,14
@@
class TestCharm(base.TestN2VC):
juju:
charm: metrics-proxy-ci
proxy: true
juju:
charm: metrics-proxy-ci
proxy: true
- """
+ initial-config-primitive:
+ - seq: '1'
+ name: run
+ parameter:
+ - name: command
+ data-type: STRING
+ value: hostname
+"""
# @pytest.mark.serial
@pytest.mark.asyncio
# @pytest.mark.serial
@pytest.mark.asyncio
@@
-130,8
+137,8
@@
class TestCharm(base.TestN2VC):
event_loop,
)
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")
await asyncio.sleep(15)
logging.debug("test_metrics_proxy stopped")