рабочий вариант, но скороть 10 МБит
This commit is contained in:
@@ -93,7 +93,7 @@ Invoke-Api -Method PUT -Path "/clusters/$ClusterID/nodes/$($node.id)/workloads/s
|
||||
|
||||
$expected = @{
|
||||
"core-mesh" = "running"
|
||||
"mesh-listener" = "running"
|
||||
"fabric-listener" = "running"
|
||||
"synthetic.echo" = "running"
|
||||
}
|
||||
$statuses = Wait-ForWorkloadStates -NodeID $node.id -Expected $expected
|
||||
@@ -101,7 +101,7 @@ $synthetic = @($statuses | Where-Object { $_.service_type -eq "synthetic.echo" }
|
||||
|
||||
$checks = [ordered]@{
|
||||
core_mesh_running = [bool](@($statuses | Where-Object { $_.service_type -eq "core-mesh" -and $_.reported_state -eq "running" }).Count -gt 0)
|
||||
mesh_listener_running = [bool](@($statuses | Where-Object { $_.service_type -eq "mesh-listener" -and $_.reported_state -eq "running" }).Count -gt 0)
|
||||
fabric_listener_running = [bool](@($statuses | Where-Object { $_.service_type -eq "fabric-listener" -and $_.reported_state -eq "running" }).Count -gt 0)
|
||||
synthetic_echo_running = [bool]($null -ne $synthetic -and [string]$synthetic.reported_state -eq "running")
|
||||
synthetic_echo_builtin = [bool]($null -ne $synthetic -and [string]$synthetic.status_payload.execution_mode -eq "builtin")
|
||||
synthetic_echo_test_only = [bool]($null -ne $synthetic -and [string]$synthetic.status_payload.traffic -eq "test_service_only")
|
||||
|
||||
Reference in New Issue
Block a user