The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(whatsapp): gate the bridge socket tests with platforms("posix")
Teknium5e451f2155fc
diff --git a/tests/gateway/test_whatsapp_multiplex.py b/tests/gateway/test_whatsapp_multiplex.pyindex 777f31468d5..a0bca3b7a63 100644--- a/tests/gateway/test_whatsapp_multiplex.py+++ b/tests/gateway/test_whatsapp_multiplex.py@@ -91,7 +91,7 @@ def _hold_port():return sock, sock.getsockname()[1][email protected](os.name == "nt", reason="SO_REUSEADDR shares live listeners on Windows; probe skips it there")[email protected]("posix") # SO_REUSEADDR shares live listeners on Windows; the probe skips it theredef test_port_probe_reuses_time_wait_addresses(monkeypatch):"""A secondary restart must not mistake the prior bridge's TCP TIME-WAIT for a listener (#139425)."""import plugins.platforms.whatsapp.bridge_ownership as ownership@@ -120,7 +120,7 @@ def test_port_probe_reuses_time_wait_addresses(monkeypatch):][email protected](os.name == "nt", reason="POSIX TIME-WAIT bind semantics")[email protected]("posix") # POSIX TIME-WAIT bind semanticsdef test_time_wait_leftovers_are_not_a_foreign_listener(tmp_path):"""Real kernel TIME-WAIT, no mocks: the stopped bridge closed its accepted connection first, sothe port carries a TIME-WAIT entry and no listener. The ownership check must call it free (#139425),