Code Review
/
ric-plt
/
a1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
F release step 1 of 2
[ric-plt/a1.git]
/
tests
/
test_controller.py
diff --git
a/tests/test_controller.py
b/tests/test_controller.py
index
f243bf7
..
9a73ea8
100644
(file)
--- a/
tests/test_controller.py
+++ b/
tests/test_controller.py
@@
-400,6
+400,14
@@
def test_healthcheck(client):
assert res.status_code == 200
assert res.status_code == 200
+def test_metrics(client):
+ """
+ test Prometheus metrics
+ """
+ res = client.get("/a1-p/metrics")
+ assert res.status_code == 200
+
+
def teardown_module():
"""module teardown"""
a1rmr.stop_rmr_thread()
def teardown_module():
"""module teardown"""
a1rmr.stop_rmr_thread()