test: pin the expiry window and close settlement review gaps

This commit is contained in:
2026-09-10 05:20:56 -04:00
parent b1bc06e2b1
commit 5e2c35a812
5 changed files with 30 additions and 3 deletions
+1 -1
View File
@@ -700,7 +700,7 @@ class TestEmbedCallDeadline:
elapsed = loop.time() - started
assert exc.value.scope == "embed"
# 按批计的话 20 批全都能跑完(根本不会抛),共享一份则跑不到头
assert 2 <= len(transport.calls) < 20
assert 1 <= len(transport.calls) < 20
assert elapsed < 20 * 0.05, f"总时长疑似随批数放大: {elapsed}s"
async def test_empty_input_is_exempt_from_the_deadline(self):