Skip to content

Commit 844dc42

Browse files
authored
This PR is to add comments to TestGetMediumTypeFromVolumeSource in pkg/ddc/alluxio/transform_test.go (#4789)
* Add Notation to TestGetMediumTypeFromVolumeSource in pkg/ddc/alluxio/transform_test.go Signed-off-by: xqx <2385431250@qq.com> * Add Notation to TestGetMediumTypeFromVolumeSource in pkg/ddc/alluxio/transform_test.go Signed-off-by: xqx <2385431250@qq.com> --------- Signed-off-by: xqx <2385431250@qq.com>
1 parent 9ebcdef commit 844dc42

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pkg/ddc/alluxio/transform_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,10 @@ func TestTransformPodMetadata(t *testing.T) {
553553
}
554554
}
555555

556+
// TestGetMediumTypeFromVolumeSource verifies the logic for determining storage medium type
557+
// from Kubernetes volume sources in AlluxioEngine. The test validates:
558+
// 1. Default medium type is used when no specific volume configuration exists
559+
// 2. Explicit medium type from EmptyDir volume configuration takes precedence over default
556560
func TestGetMediumTypeFromVolumeSource(t *testing.T) {
557561
engine := &AlluxioEngine{Log: fake.NullLogger()}
558562

0 commit comments

Comments
 (0)