Skip to content
Snippets Groups Projects
Verified Commit eb09e8fe authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

fix alert test and behave test for prometheus-stack

parent a137e29f
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ def before_tag(context, tag):
"""Define steps run before each tag."""
userdata = context.config.userdata
if tag == 'grafana':
if tag == 'prometheus-stack':
context.grafana = get_values(userdata, 'grafana')
if tag == 'nextcloud':
......
......@@ -64,7 +64,7 @@ def test_prometheus_alerts(host):
print("Starting prometheus test...")
url = 'http://prometheus-server.oas.svc.cluster.local/api/v1/alerts'
url = 'http://prometheus-stack-kube-prom-prometheus.oas.svc.cluster.local:9090/api/v1/alerts'
alert_json = json.loads(host.check_output('curl ' + url))
status = alert_json["status"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment