mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-04 23:28:20 +00:00
* test: add broken unit test data Signed-off-by: Jingchao <alswlx@gmail.com> * fix: npe error in kruise ds health-check Signed-off-by: Jingchao <alswlx@gmail.com> --------- Signed-off-by: Jingchao <alswlx@gmail.com>
25 lines
813 B
YAML
25 lines
813 B
YAML
tests:
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: "All Daemonset workloads are ready and updated"
|
|
inputPath: testdata/healthy.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Some pods are not ready or available"
|
|
inputPath: testdata/degraded.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Waiting for initialization"
|
|
inputPath: testdata/unknown.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Waiting for initialization"
|
|
inputPath: testdata/no-update-strategy-partition.yaml
|
|
- healthStatus:
|
|
status: Suspended
|
|
message: "Daemonset is paused"
|
|
inputPath: testdata/suspended.yaml
|
|
- healthStatus:
|
|
status: Suspended
|
|
message: "Daemonset needs manual intervention"
|
|
inputPath: testdata/partition_suspended.yaml
|