рабочий вариант, но скороть 10 МБит
This commit is contained in:
@@ -57,7 +57,7 @@ $result | Add-Member -NotePropertyName c18z17_checks -NotePropertyValue ([ordere
|
||||
stale_channel_quality_markers_absent = ($staleMarkers.Count -eq 0)
|
||||
active_markers_reference_visible_preferences = ($activeMarkers.Count -gt 0 -and $staleMarkers.Count -eq 0)
|
||||
expired_route_intents_not_active = ([string]$result.route_intents.fast_status -eq "expired" -and [string]$result.route_intents.slow_candidate_status -eq "expired" -and [string]$result.route_intents.slow_initial_status -eq "expired")
|
||||
session_completed_without_backend_fallback = ([int]$result.backend_fallback_queue.depth -eq 0)
|
||||
session_completed_without_degraded_route = ([int]$result.degraded_route_queue.depth -eq 0)
|
||||
}) -Force
|
||||
$result | Add-Member -NotePropertyName c18z17_summary -NotePropertyValue ([ordered]@{
|
||||
active_quality_marker_count = $activeMarkers.Count
|
||||
@@ -68,7 +68,7 @@ $result.passed = [bool]($result.passed -and
|
||||
$result.c18z17_checks.stale_channel_quality_markers_absent -and
|
||||
$result.c18z17_checks.active_markers_reference_visible_preferences -and
|
||||
$result.c18z17_checks.expired_route_intents_not_active -and
|
||||
$result.c18z17_checks.session_completed_without_backend_fallback)
|
||||
$result.c18z17_checks.session_completed_without_degraded_route)
|
||||
|
||||
$resolvedResultPath = Join-Path $repoRoot $ResultPath
|
||||
$result | ConvertTo-Json -Depth 100 | Set-Content -Path $resolvedResultPath -Encoding UTF8
|
||||
@@ -80,3 +80,4 @@ if (-not $result.passed) {
|
||||
|
||||
Write-Host "C18Z17 live service-channel quality cleanup smoke passed. Result: $resolvedResultPath"
|
||||
$result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user