test_prometheus_data_set unit test failed
Closed this issue · 1 comments
NohaIhab commented
After upgrading prometheus scrape library to v0.30 in PR #109 , getting this error in unit tests:
Traceback (most recent call last):
File "/home/runner/work/minio-operator/minio-operator/tests/unit/test_charm.py", line 410, in test_prometheus_data_set
assert json.loads(harness.get_relation_data(rel_id, harness.model.app.name)["scrape_jobs"])[0][
KeyError: 'scrape_jobs'