рабочий вариант, но скороть 10 МБит
This commit is contained in:
@@ -72,7 +72,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"
|
||||
@@ -1051,7 +1051,7 @@ try {
|
||||
baseline_depth = $baselineExitDepth
|
||||
depth = $exitDepth
|
||||
}
|
||||
backend_fallback_queue = @{
|
||||
degraded_route_queue = @{
|
||||
baseline_depth = $baselineBackendDepth
|
||||
depth = $finalBackendDepth
|
||||
}
|
||||
@@ -1071,7 +1071,7 @@ try {
|
||||
entry_runtime_loaded_post_switch_config = ([string]$postSwitchLoadedConfig.report.config_version -ge [string]$entryConfigWithoutPrimary.synthetic_mesh_config.config_version)
|
||||
post_switch_uses_alternate_route = ([bool]$postSwitchRouteStats.matched)
|
||||
exit_inbox_received_all_packets = ($exitDepth -ge ($baselineExitDepth + $expectedPackets))
|
||||
no_backend_fallback_used = ($finalBackendDepth -eq $baselineBackendDepth)
|
||||
no_degraded_route_used = ($finalBackendDepth -eq $baselineBackendDepth)
|
||||
route_failures_within_budget = ($routeFailureDelta -le $MaxAllowedRouteFailures)
|
||||
no_flow_drops = ($droppedDelta -eq 0)
|
||||
route_intents_expired = ($expiredPrimary.route_intent.lifecycle_status -eq "expired" -and $expiredAlternate.route_intent.lifecycle_status -eq "expired")
|
||||
@@ -1109,3 +1109,4 @@ if (-not (Test-Path $resultDir)) {
|
||||
$result | ConvertTo-Json -Depth 100 | Set-Content -Path $resultFullPath -Encoding UTF8
|
||||
Write-Host "C18Z4 live service-channel session pressure smoke passed. Result: $resultFullPath"
|
||||
$result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user