Skip to content

Commit af18a34

Browse files
committed
test(sdks/python): drain 用例超时余量 3s→5s——CI 慢机时序抖动
控制车道处理本身 <10ms,余量只需覆盖 CI 慢机的调度抖动;本地 5/5 稳定 通过,CI 单次 3s 内未等到响应。 文档扫描结论(README 家族全面核对,均无需修改): - Python/C++ README 的 snake 命名是 kwargs 参数名/结构体成员名——契约 规则原文明确豁免(Python PEP8 / C++ 成员惯例),且与代码实际一致 - 根 README 的 game_id+env 是作用域概念模型叙述(proto/DB 语义层) - docs/ 的 wire 键引用已全清零;permissions.md 审计示例 JSON 与 audit 面代码现状一致(audit REST details 对齐为已登记的独立后续项)
1 parent e4ca3b6 commit af18a34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdks/python/tests/test_client_session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def test_drain_full_cycle_replies_and_reconnects(self, agent):
302302
agent.push(protocol.MSG_PROVIDER_DRAIN_REQUEST, 300, b"")
303303

304304
# Immediate empty ProviderDrainResponse...
305-
response = agent.wait_response(300, timeout=3)
305+
response = agent.wait_response(300, timeout=5)
306306
assert response is not None
307307
assert response[0] == protocol.MSG_PROVIDER_DRAIN_RESPONSE
308308
assert response[1] == b""

0 commit comments

Comments
 (0)