Skip to content

Commit f2cab08

Browse files
committed
Add Notation to TestGetMediumTypeFromVolumeSource in pkg/ddc/alluxio/transform_test.go
1 parent 1178175 commit f2cab08

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

pkg/ddc/alluxio/transform_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,11 @@ func TestTransformPodMetadata(t *testing.T) {
543543
}
544544
}
545545

546+
547+
// TestGetMediumTypeFromVolumeSource verifies the logic for determining storage medium type
548+
// from Kubernetes volume sources in AlluxioEngine. The test validates:
549+
// 1. Default medium type is used when no specific volume configuration exists
550+
// 2. Explicit medium type from EmptyDir volume configuration takes precedence over default
546551
func TestGetMediumTypeFromVolumeSource(t *testing.T) {
547552
engine := &AlluxioEngine{Log: fake.NullLogger()}
548553

0 commit comments

Comments
 (0)