test+release: align stale sticky-IP test for #24511; map @falconexe

This commit is contained in:
Teknium 2026-05-18 22:14:38 -07:00
parent 5c4b43ced7
commit e7a3e9934f
2 changed files with 5 additions and 2 deletions

View file

@ -169,6 +169,7 @@ AUTHOR_MAP = {
"erhanyasarx@gmail.com": "erhnysr", # PR #25198 salvage (tool-progress flood-control)
"cryptobyz.airdrop@gmail.com": "CryptoByz", # PR #25630 salvage (polling conflict Stage 1+2)
"fabioxxx@gmail.com": "fabiosiqueira", # PR #27212 salvage (bg-process notif anchor)
"lordfalcon.exe@gmail.com": "falconexe", # PR #24511 salvage (sticky-IP reset)
"androidhtml@yandex.com": "hllqkb",
"25840394+Bongulielmi@users.noreply.github.com": "Bongulielmi",
"jonathan.troyer@overmatch.com": "JTroyerOvermatch",

View file

@ -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"