Skip to content

Commit

Permalink
Fix ingress test
Browse files Browse the repository at this point in the history
  • Loading branch information
arturo-seijas committed Feb 6, 2024
1 parent 1fef0c3 commit 05e7d2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/test_ingress.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ async def test_ingress_integration(
"""
status = await model.get_status(filters=[ingress_related.name])
unit = next(iter(status.applications[ingress_related.name].units))
address = status["applications"][app.name]["units"][unit]["address"]
response = requests.get(
f"http://{unit.address}",
f"http://{address}",
headers={"Host": f"{model.name}-{ingress_related.name}.{external_hostname}"},
timeout=5,
).json()
Expand Down

0 comments on commit 05e7d2b

Please sign in to comment.