Skip to content

Commit

Permalink
Update tests/integration/test_k8s.py
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Aug 29, 2024
1 parent b5f91be commit d1a0a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/test_k8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,6 @@ async def test_prometheus(traefik_url: str, cos_model: model.Model):
'up{job="kube-proxy"} > 0',
'up{job="kube-state-metrics"} > 0',
]
results = asyncio.gather(*[prometheus.get_metrics(query) for query in queries])
results = await asyncio.gather(*[prometheus.get_metrics(query) for query in queries])
failed = [query for query, result in zip(queries, results) if not result]
assert not failed, f"Failed queries: {failed}"

0 comments on commit d1a0a61

Please sign in to comment.