Allow initializing scan smoke during deploy
This commit is contained in:
@@ -278,6 +278,8 @@ def test_deploy_script_retries_startup_smoke_checks():
|
||||
assert "wait_for_scan_terminal_snapshot()" in script
|
||||
assert '"status":"ready"' in script
|
||||
assert "http=401" in script
|
||||
assert '"stale_reason":"市场扫描快照正在初始化"' in script
|
||||
assert "initializing after attempt" in script
|
||||
assert 'wait_for_scan_terminal_snapshot "scan terminal snapshot" "http://127.0.0.1:3001/api/scan/terminal"' in script
|
||||
assert script.index("wait_for_scan_terminal_snapshot") < script.index("run_public_smoke_checks")
|
||||
assert 'smoke_check "healthz" "https://api.polyweather.top/healthz" 15 3 5' in script
|
||||
|
||||
Reference in New Issue
Block a user