From 30e9513ce2b438e874d78035ad25768fb5ca3e85 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Sat, 30 May 2026 23:00:48 +0800 Subject: [PATCH] Update deploy smoke check test --- tests/test_deployment_runtime_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_deployment_runtime_config.py b/tests/test_deployment_runtime_config.py index eb2a1133..beb646d8 100644 --- a/tests/test_deployment_runtime_config.py +++ b/tests/test_deployment_runtime_config.py @@ -74,7 +74,8 @@ def test_deploy_script_retries_startup_smoke_checks(): assert "smoke_check()" in script assert 'smoke_check "healthz" "https://api.polyweather.top/healthz" 15 3 5' in script - assert 'smoke_check "cities" "https://api.polyweather.top/api/cities" 15 8 5' in script + assert 'smoke_check "local cities" "http://127.0.0.1:8000/api/cities" 10 6 3' in script + assert 'smoke_check "frontend cities" "https://polyweather.top/api/cities" 20 5 5' in script assert 'smoke_check "frontend" "https://www.polyweather.top/" 15 3 5' in script