Skip to content

Commit c225d3f

Browse files
authored
Add comments/notation to TestTransformFuseProperties in pkg/ddc/alluxio/transform_test.go. (#5037)
Signed-off-by: Katsumi617 <17751391504@163.com>
1 parent 6a29aea commit c225d3f

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

pkg/ddc/alluxio/transform_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,16 @@ func TestTransformWorkerProperties(t *testing.T) {
11061106
}
11071107
}
11081108

1109+
// TestTransformFuseProperties verifies that the transformFuse method correctly merges
1110+
// and overrides FUSE-related configuration properties from the AlluxioRuntime spec.
1111+
//
1112+
// Specifically, it ensures that:
1113+
// - FUSE-specific properties override general properties when both are provided.
1114+
// - The resulting Alluxio configuration reflects the correct FUSE properties in both
1115+
// the `.Fuse.Properties` and `.Properties` fields.
1116+
//
1117+
// The test sets up an AlluxioEngine with mocked runtime information and compares
1118+
// the resulting configuration against expected values.
11091119
func TestTransformFuseProperties(t *testing.T) {
11101120
runtimeInfo, err := base.BuildRuntimeInfo("test", "fluid", "alluxio")
11111121
if err != nil {

0 commit comments

Comments
 (0)