Skip to content

Commit 2830829

Browse files
committed
sanity check
1 parent 1ba4bcb commit 2830829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pytest/test_mcp_session_autocreate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def _run_airline_server():
2222

2323
# Map Python versions to port offsets: 3.10->0, 3.11->1, 3.12->2
2424
port_offset = minor_version - 10
25-
port = str(9780 + port_offset)
25+
port = str(9780)
2626
print(f"[SERVER DEBUG] Python 3.{minor_version} -> Setting PORT={port}")
2727
os.environ["PORT"] = port
2828
from eval_protocol.mcp_servers.tau2.tau2_mcp import AirlineDomainMcp
@@ -47,7 +47,7 @@ async def test_tool_call_returns_json_without_prior_initial_state():
4747

4848
# Map Python versions to port offsets: 3.10->0, 3.11->1, 3.12->2
4949
port_offset = minor_version - 10
50-
port = str(9780 + port_offset)
50+
port = str(9780)
5151
print(f"[TEST DEBUG] Python 3.{minor_version} -> Looking for server on port {port}")
5252

5353
base_url = f"http://127.0.0.1:{port}/mcp"

0 commit comments

Comments
 (0)