Skip to content

Commit abd0af5

Browse files
committed
add test in pkg/health/health_test.go
Signed-off-by: Arnaud Farbos <[email protected]>
1 parent e460207 commit abd0af5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/health/health_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ func TestJob(t *testing.T) {
8181
func TestHPA(t *testing.T) {
8282
assertAppHealth(t, "./testdata/hpa-v2-healthy.yaml", HealthStatusHealthy)
8383
assertAppHealth(t, "./testdata/hpa-v2-degraded.yaml", HealthStatusDegraded)
84+
assertAppHealth(t, "./testdata/hpa-v2-degraded-partially.yaml", HealthStatusDegraded)
8485
assertAppHealth(t, "./testdata/hpa-v2-progressing.yaml", HealthStatusProgressing)
8586
assertAppHealth(t, "./testdata/hpa-v2beta2-healthy.yaml", HealthStatusHealthy)
8687
assertAppHealth(t, "./testdata/hpa-v2beta1-healthy-disabled.yaml", HealthStatusHealthy)

0 commit comments

Comments
 (0)