рабочий вариант, но скороть 10 МБит
This commit is contained in:
@@ -85,7 +85,7 @@ function Get-MeshPort {
|
||||
function Enable-TestMeshListener {
|
||||
param([object]$Node)
|
||||
$port = Get-MeshPort -Name $Node.name
|
||||
Invoke-Api -Method PUT -Path "/clusters/$ClusterID/nodes/$($Node.id)/workloads/mesh-listener/desired" -Body @{
|
||||
Invoke-Api -Method PUT -Path "/clusters/$ClusterID/nodes/$($Node.id)/workloads/fabric-listener/desired" -Body @{
|
||||
actor_user_id = $ActorUserID
|
||||
desired_state = "enabled"
|
||||
runtime_mode = "container"
|
||||
@@ -640,7 +640,7 @@ try {
|
||||
score_reasons = $qualityLease.primary_route.score_reasons
|
||||
alternate_route_count = @($qualityLease.alternate_routes).Count
|
||||
}
|
||||
backend_fallback_queue = @{
|
||||
degraded_route_queue = @{
|
||||
baseline_depth = $baselineBackendDepth
|
||||
depth = $finalBackendDepth
|
||||
}
|
||||
@@ -665,7 +665,7 @@ try {
|
||||
candidate_runtime_loaded = ([string]$candidateLoadedConfig.report.config_version -ge [string]$candidateVisibleConfig.synthetic_mesh_config.config_version)
|
||||
quality_prefers_live_learned_fast_route = ([string]$qualityLease.primary_route.route_id -eq $fastRouteID)
|
||||
quality_lease_uses_live_feedback_reason = (@($qualityLease.primary_route.score_reasons | Where-Object { $_ -eq "service_channel_recent_success" }).Count -ge 1)
|
||||
no_backend_fallback_used = ($finalBackendDepth -eq $baselineBackendDepth)
|
||||
no_degraded_route_used = ($finalBackendDepth -eq $baselineBackendDepth)
|
||||
no_flow_drops = (($finalDropped - $baselineDropped) -eq 0)
|
||||
route_intents_expired = ($expiredFast.route_intent.lifecycle_status -eq "expired" -and $expiredSlowCandidate.route_intent.lifecycle_status -eq "expired")
|
||||
}
|
||||
@@ -711,3 +711,4 @@ if (-not (Test-Path $resultDir)) {
|
||||
$result | ConvertTo-Json -Depth 100 | Set-Content -Path $resultFullPath -Encoding UTF8
|
||||
Write-Host "C18Z13 live service-channel route quality smoke passed. Result: $resultFullPath"
|
||||
$result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user