Skip to content

Commit 4b0583c

Browse files
authored
Add Notation to TestAlluxioEngine_generateDataProcessValueFile in pkg… (#4994)
* Add Notation to TestAlluxioEngine_generateDataProcessValueFile in pkg\ddc\alluxio\process_data_test.go Signed-off-by: matatabi <2015201051@qq.com> * Add Notation to TestAlluxioEngine_generateDataProcessValueFile in pkg\ddc\alluxio\process_data_test.go Signed-off-by: matatabi <2015201051@qq.com> --------- Signed-off-by: matatabi <2015201051@qq.com>
1 parent cb1e798 commit 4b0583c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

pkg/ddc/alluxio/process_data_test.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@ import (
2727
"sigs.k8s.io/controller-runtime/pkg/client"
2828
)
2929

30+
// TestAlluxioEngine_generateDataProcessValueFile tests the generateDataProcessValueFile
31+
// function of AlluxioEngine under different input scenarios.
32+
//
33+
// Parameters:
34+
// - dataset: a mock Dataset object for simulating an existing dataset.
35+
// - dataProcess: a mock DataProcess object containing processor and target dataset info.
36+
// - args: includes the engine instance, request context, and the input object to test.
37+
//
38+
// Return:
39+
// - Verifies whether generateDataProcessValueFile returns an error as expected
40+
// in each scenario.
3041
func TestAlluxioEngine_generateDataProcessValueFile(t *testing.T) {
3142
dataset := &datav1alpha1.Dataset{
3243
ObjectMeta: metav1.ObjectMeta{

0 commit comments

Comments
 (0)