diff --git a/pkg/ddc/alluxio/utils_test.go b/pkg/ddc/alluxio/utils_test.go index 06483082640..62fd290fffd 100644 --- a/pkg/ddc/alluxio/utils_test.go +++ b/pkg/ddc/alluxio/utils_test.go @@ -600,6 +600,10 @@ func TestGetDaemonset(t *testing.T) { } } +// TestGetMasterPodInfo tests the getMasterPodInfo function of the AlluxioEngine struct. +// It defines a set of test cases with expected pod and container names based on the engine's name. +// The function iterates through the test cases, initializes an AlluxioEngine instance, +// and verifies whether the returned pod name and container name match the expected values. func TestGetMasterPodInfo(t *testing.T) { type fields struct { name string