diff --git a/pkg/ddc/alluxio/health_check_test.go b/pkg/ddc/alluxio/health_check_test.go index ee73d9c2d93..5a39bfbd9e9 100644 --- a/pkg/ddc/alluxio/health_check_test.go +++ b/pkg/ddc/alluxio/health_check_test.go @@ -37,6 +37,10 @@ import ( "github.com/fluid-cloudnative/fluid/pkg/utils/fake" ) +// TestCheckRuntimeHealthy is a unit test that verifies the health check logic +// for the Jindo runtime environment. It creates a mock runtime and simulates +// different health scenarios, asserting that the status returned by the +// CheckRuntimeHealthy method matches the expected outcome. func TestCheckRuntimeHealthy(t *testing.T) { var statefulsetInputs = []appsv1.StatefulSet{ {