Skip to content

Commit

Permalink
Fetch traefik url with an action on that charm
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Aug 30, 2024
1 parent 670c068 commit 88324e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions tests/integration/cos_substrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ def create_network(
self.client.networks.create(**network_config)
log.info("Network created successfully.")
reserved_start = dhcp_range_stop + 1
log.info("Reserved IP range: %s-%s", reserved_start, reserved_stop)
return reserved_start, reserved_stop
except LXDExceptions:
log.exception("Failed to create network")
Expand Down
1 change: 0 additions & 1 deletion tests/integration/test_k8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ async def test_prometheus(traefik_url: str, cos_model: model.Model):
"""Test integration with Prometheus."""
prometheus = Prometheus(model_name=cos_model.name, base=traefik_url)
await asyncio.wait_for(prometheus.is_ready(), timeout=10 * 60)

queries = [
'up{job="kubelet", metrics_path="/metrics"} > 0',
'up{job="kubelet", metrics_path="/metrics/cadvisor"} > 0',
Expand Down

0 comments on commit 88324e4

Please sign in to comment.