Skip to content

Commit c669277

Browse files
authored
Revert "This PR is to add comments to TestGenerateDataLoadValueFile in pkg\dd…" (#5091)
This reverts commit e1ce331. Signed-off-by: cheyang <cheyang@163.com>
1 parent 43d5b98 commit c669277

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

fluid

Lines changed: 0 additions & 1 deletion
This file was deleted.

pkg/ddc/alluxio/load_data_test.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,6 @@ import (
3838
"k8s.io/apimachinery/pkg/runtime"
3939
)
4040

41-
// TestGenerateDataLoadValueFile is a unit test function that tests the generateDataLoadValueFile method of the AlluxioEngine struct.
42-
// It verifies the correct generation of DataLoad value file paths under different scenarios, including cases with and without target paths.
43-
// The test sets up mock datasets and DataLoad specifications to validate that the engine produces the expected temporary file paths
44-
// for value configuration files. It ensures the file naming convention follows the pattern "fluid-<dataload-name>-loader-values.yaml".
45-
//
46-
// Parameters:
47-
// - t: A testing.T object used for managing test state and reporting test failures. It provides methods like Errorf
48-
// to indicate test failures and log additional information about mismatched file paths.
49-
//
50-
// Returns:
51-
// - None (This is a test function, so it does not return any value. Its purpose is to validate the file path generation
52-
// logic and report any discrepancies through test failures.)
5341
func TestGenerateDataLoadValueFile(t *testing.T) {
5442
datasetInputs := []datav1alpha1.Dataset{
5543
{

0 commit comments

Comments
 (0)