Files
zeekay 7bb1484ce7 Name the sample objects in resource fixtures for this product
The health and action fixtures carried sample object names from the upstream
project; renamed in step with every assertion that reads them.
2026-09-05 01:16:49 -07:00

34 lines
1.3 KiB
YAML

tests:
- healthStatus:
status: Healthy
message: "Elasticsearch Cluster status is Green"
inputPath: testdata/ready_green.yaml
- healthStatus:
status: Progressing
message: "Elasticsearch Cluster status is Yellow. Check the status of indices, replicas and shards"
inputPath: testdata/ready_yellow.yaml
- healthStatus:
status: Degraded
message: "Elasticsearch Cluster status is Red. Check the status of indices, replicas and shards"
inputPath: testdata/ready_red.yaml
- healthStatus:
status: Progressing
message: "Elasticsearch phase is ApplyingChanges"
inputPath: testdata/applyingchanges.yaml
- healthStatus:
status: Progressing
message: "Elasticsearch phase is MigratingData"
inputPath: testdata/migratingdata.yaml
- healthStatus:
status: Degraded
message: "Elasticsearch phase is Invalid"
inputPath: testdata/invalid.yaml
- healthStatus:
status: Progressing
message: "The desired amount of availableNodes is 5 but the current amount is 3"
inputPath: testdata/progressing.yaml
- healthStatus:
status: Unknown
message: "Elasticsearch Cluster status is unknown. Ensure your Hanzo CD is current and then check for/file a bug report: https://github.com/hanzocd/cd/issues"
inputPath: testdata/unknown.yaml