mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
Merge pull request #94238 from jingxu97/Aug/subpathtest
Set snapshotType for tests with NTFS.
This commit is contained in:
commit
3a79bb68bd
@ -255,6 +255,7 @@ var (
|
|||||||
FsType: "ntfs",
|
FsType: "ntfs",
|
||||||
FeatureTag: "[sig-windows]",
|
FeatureTag: "[sig-windows]",
|
||||||
SnapshotDeletionPolicy: DeleteSnapshot,
|
SnapshotDeletionPolicy: DeleteSnapshot,
|
||||||
|
SnapshotType: DynamicCreatedSnapshot,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Definitions for Filesystem volume mode
|
// Definitions for Filesystem volume mode
|
||||||
|
@ -407,6 +407,9 @@ func CreateSnapshotResource(sDriver SnapshottableTestDriver, config *PerTestConf
|
|||||||
ginkgo.By("deleting the snapshot and snapshot content") // TODO: test what happens when I have two snapshot content that refer to the same content
|
ginkgo.By("deleting the snapshot and snapshot content") // TODO: test what happens when I have two snapshot content that refer to the same content
|
||||||
ginkgo.By("creating a snapshot content with the snapshot handle")
|
ginkgo.By("creating a snapshot content with the snapshot handle")
|
||||||
ginkgo.By("creating a snapshot with that snapshot content")
|
ginkgo.By("creating a snapshot with that snapshot content")
|
||||||
|
default:
|
||||||
|
err = fmt.Errorf("SnapshotType must be set to either DynamicCreatedSnapshot or PreprovisionedCreatedSnapshot")
|
||||||
|
framework.ExpectNoError(err)
|
||||||
}
|
}
|
||||||
return &r
|
return &r
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user