Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pkg/ddc/alluxio/health_check_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
{
Expand Down
Loading