From bffa53e71b7439e9b1f83ae866d4777737ab3096 Mon Sep 17 00:00:00 2001 From: cheyang Date: Wed, 11 Jun 2025 15:22:02 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"This=20PR=20is=20to=20add=20comments?= =?UTF-8?q?=20to=20TestGenerateDataLoadValueFile=20in=20pkg\dd=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit e1ce33162806bb2b6e6283f7733543956787e79d. Signed-off-by: cheyang --- fluid | 1 - pkg/ddc/alluxio/load_data_test.go | 12 ------------ 2 files changed, 13 deletions(-) delete mode 160000 fluid diff --git a/fluid b/fluid deleted file mode 160000 index 4ff3cb9890a..00000000000 --- a/fluid +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4ff3cb9890a4fb5548636fa4a679ebbb219d9c86 diff --git a/pkg/ddc/alluxio/load_data_test.go b/pkg/ddc/alluxio/load_data_test.go index 474e8290bde..ffdcd967617 100644 --- a/pkg/ddc/alluxio/load_data_test.go +++ b/pkg/ddc/alluxio/load_data_test.go @@ -38,18 +38,6 @@ import ( "k8s.io/apimachinery/pkg/runtime" ) -// TestGenerateDataLoadValueFile is a unit test function that tests the generateDataLoadValueFile method of the AlluxioEngine struct. -// It verifies the correct generation of DataLoad value file paths under different scenarios, including cases with and without target paths. -// The test sets up mock datasets and DataLoad specifications to validate that the engine produces the expected temporary file paths -// for value configuration files. It ensures the file naming convention follows the pattern "fluid--loader-values.yaml". -// -// Parameters: -// - t: A testing.T object used for managing test state and reporting test failures. It provides methods like Errorf -// to indicate test failures and log additional information about mismatched file paths. -// -// Returns: -// - None (This is a test function, so it does not return any value. Its purpose is to validate the file path generation -// logic and report any discrepancies through test failures.) func TestGenerateDataLoadValueFile(t *testing.T) { datasetInputs := []datav1alpha1.Dataset{ {