Skip to content

Commit

Permalink
Add message to _wait_for_scrape assert
Browse files Browse the repository at this point in the history
  • Loading branch information
pehala committed Apr 10, 2024
1 parent 5f9ea18 commit f8dcdcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsuite/openshift/metrics/prometheus.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def _wait_for_scrape():
return call_time < datetime.fromisoformat(target["lastScrape"][:26])
return False

assert _wait_for_scrape()
assert _wait_for_scrape(), "Prometheus didn't reconcile ServiceMonitor in time"

def close(self):
"""Close httpx client connection"""
Expand Down

0 comments on commit f8dcdcb

Please sign in to comment.