fix: align scan terminal proxy and build timeouts

This commit is contained in:
2569718930@qq.com
2026-05-28 09:23:01 +08:00
parent 4c68fe696b
commit 2e6349cbc6
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -45,5 +45,5 @@ def test_scan_terminal_backend_timeout_returns_before_next_proxy_abort():
ROOT / "frontend" / "app" / "api" / "scan" / "terminal" / "route.ts"
).read_text(encoding="utf-8")
assert 'POLYWEATHER_SCAN_TERMINAL_PROXY_TIMEOUT_MS || "28000"' in route_source
assert scan_terminal_config.SCAN_TERMINAL_BUILD_TIMEOUT_SEC <= 20
assert 'POLYWEATHER_SCAN_TERMINAL_PROXY_TIMEOUT_MS || "40000"' in route_source
assert scan_terminal_config.SCAN_TERMINAL_BUILD_TIMEOUT_SEC <= 30