]> git.feebdaed.xyz Git - 0xmirror/kubernetes.git/commitdiff
test: Add XFS filesystem support to volume expansion e2e tests
authorPenghao <pewang@redhat.com>
Wed, 10 Dec 2025 18:39:24 +0000 (02:39 +0800)
committerPenghao <pewang@redhat.com>
Wed, 10 Dec 2025 18:39:24 +0000 (02:39 +0800)
Signed-off-by: Penghao <pewang@redhat.com>
test/e2e/storage/framework/testpattern.go
test/e2e/storage/testsuites/volume_expand.go

index 5f6218e5490765d4704551401ee164c8e96bbf50..bad334cb2bd52d44f1ea2fae2f911a0b8c7a0372 100644 (file)
@@ -60,7 +60,7 @@ var (
        DynamicCreatedSnapshot TestSnapshotType = "DynamicSnapshot"
        // PreprovisionedCreatedSnapshot represents a snapshot type for pre-provisioned snapshot
        PreprovisionedCreatedSnapshot TestSnapshotType = "PreprovisionedSnapshot"
-
+       // VolumeGroupSnapshot represents a group snapshot type for dynamic created volumegroupsnapshot
        VolumeGroupSnapshot TestSnapshotType = "VolumeGroupSnapshot"
 )
 
@@ -229,6 +229,7 @@ var (
                TestTags:               []interface{}{framework.WithSlow()},
                SnapshotType:           DynamicCreatedSnapshot,
                SnapshotDeletionPolicy: DeleteSnapshot,
+               AllowExpansion:         true,
        }
 
        // Definitions for ntfs
@@ -357,7 +358,7 @@ var (
                SnapshotDeletionPolicy: RetainSnapshot,
                VolType:                DynamicPV,
        }
-       // EphemeralSnapshotDelete is TestPattern for snapshotting of a generic ephemeral volume
+       // EphemeralSnapshotRetain is TestPattern for snapshotting of a generic ephemeral volume
        // where snapshots are preserved.
        EphemeralSnapshotRetain = TestPattern{
                Name:                   "Ephemeral Snapshot (retain policy)",
index e1db1feac87f73988ba7f42ac0ec275c298a3939..7dc3611f404ff0edc426acf055a1797fe42876a4 100644 (file)
@@ -76,6 +76,7 @@ func InitCustomVolumeExpandTestSuite(patterns []storageframework.TestPattern) st
 func InitVolumeExpandTestSuite() storageframework.TestSuite {
        patterns := []storageframework.TestPattern{
                storageframework.DefaultFsDynamicPV,
+               storageframework.XfsDynamicPV,
                storageframework.BlockVolModeDynamicPV,
                storageframework.DefaultFsDynamicPVAllowExpansion,
                storageframework.BlockVolModeDynamicPVAllowExpansion,