forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
health_test.yaml
33 lines (33 loc) · 1.25 KB
/
health_test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
tests:
- healthStatus:
status: Healthy
message: "Elasticsearch Cluster status is Green"
inputPath: testdata/ready_green.yaml
- healthStatus:
status: Degraded
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 ArgoCD is current and then check for/file a bug report: https://github.com/argoproj/argo-cd/issues"
inputPath: testdata/unknown.yaml