From d6374d400fe1fa6e0a73ec11e9c8fe1601f0bb59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9A=9D=20=E6=98=8E?= <1159895098@qq.com> Date: Fri, 30 May 2025 22:40:36 +0800 Subject: [PATCH] Add notation to TestTransformMasterVolumes(t *testing.T) in pkg\ddc\alluxio\transform_volumes_test.go. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 暝 明 <1159895098@qq.com> --- pkg/ddc/alluxio/transform_volumes_test.go | 3 +++ 1 file changed, 3 insertions(+) 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