mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
Merge pull request #135674 from Phaow/volume-expand
test: Add XFS filesystem support to volume expansion e2e tests
This commit is contained in:
@@ -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)",
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user