рабочий вариант, но скороть 10 МБит
This commit is contained in:
@@ -203,7 +203,7 @@ try {
|
||||
$acceptedBy -eq "introspection" -and
|
||||
$null -ne $matchingChannel -and
|
||||
[string]$matchingChannel.primary_route_id -eq $routeID -and
|
||||
-not [bool]$matchingChannel.force_backend_fallback -and
|
||||
-not [bool]$matchingChannel.force_degraded_route -and
|
||||
[string]$matchingChannel.route_feedback_status -eq "healthy" -and
|
||||
[int]$matchingChannel.route_quality_window_sample_count -ge 6
|
||||
)
|
||||
@@ -216,7 +216,7 @@ try {
|
||||
accepted_by_header_is_introspection = ($acceptedBy -eq "introspection")
|
||||
active_channel_visible = ($null -ne $matchingChannel)
|
||||
active_channel_uses_primary_route = ($null -ne $matchingChannel -and [string]$matchingChannel.primary_route_id -eq $routeID)
|
||||
active_channel_not_backend_fallback = ($null -ne $matchingChannel -and -not [bool]$matchingChannel.force_backend_fallback)
|
||||
active_channel_not_degraded_route = ($null -ne $matchingChannel -and -not [bool]$matchingChannel.force_degraded_route)
|
||||
route_quality_correlated = ($null -ne $matchingChannel -and [string]$matchingChannel.route_feedback_status -eq "healthy" -and [int]$matchingChannel.route_quality_window_sample_count -ge 6)
|
||||
}
|
||||
summary = [ordered]@{
|
||||
@@ -254,3 +254,4 @@ Write-Host "C18Z54 service-channel normal route access smoke passed. Result: $re
|
||||
$result
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user