mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-06 07:51:53 +00:00
test+release: align stale sticky-IP test for #24511; map @falconexe
This commit is contained in:
parent
5c4b43ced7
commit
e7a3e9934f
2 changed files with 5 additions and 2 deletions
|
|
@ -252,8 +252,10 @@ class TestFallbackTransport:
|
|||
|
||||
resp = await transport.handle_async_request(_telegram_request())
|
||||
assert resp.status_code == 200
|
||||
# Tried sticky (.220) first, then fell through to .221
|
||||
assert [c["url_host"] for c in calls] == ["149.154.167.220", "149.154.167.221"]
|
||||
# After #24511: when sticky fails the transport also resets and
|
||||
# re-tries the primary DNS path before falling through to other IPs.
|
||||
# Path: sticky (.220) → primary (api.telegram.org) → .221
|
||||
assert [c["url_host"] for c in calls] == ["149.154.167.220", "api.telegram.org", "149.154.167.221"]
|
||||
assert transport._sticky_ip == "149.154.167.221"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue