mirror of
https://github.com/hanzoai/cd.git
synced 2026-10-30 14:56:45 +00:00
The health and action fixtures carried sample object names from the upstream project; renamed in step with every assertion that reads them.
34 lines
1.3 KiB
YAML
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
|