File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff 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.)
5341func TestGenerateDataLoadValueFile (t * testing.T ) {
5442 datasetInputs := []datav1alpha1.Dataset {
5543 {
You can’t perform that action at this time.
0 commit comments