diff --git a/pkg/ddc/alluxio/transform_volumes_test.go b/pkg/ddc/alluxio/transform_volumes_test.go index 2c53c9c0f92..4ac577b48a7 100644 --- a/pkg/ddc/alluxio/transform_volumes_test.go +++ b/pkg/ddc/alluxio/transform_volumes_test.go @@ -24,6 +24,9 @@ import ( corev1 "k8s.io/api/core/v1" ) +// TestTransformMasterVolumes tests the transformMasterVolumes method. +// It defines multiple test cases to validate that the function correctly transforms volumes and volume mounts +// for the Alluxio master component. The test checks both successful transformations and error conditions. func TestTransformMasterVolumes(t *testing.T) { type testCase struct { name string