diff --git a/test/e2e/storage/testpatterns/testpattern.go b/test/e2e/storage/testpatterns/testpattern.go index 37d872d8b08..cd971b94fd7 100644 --- a/test/e2e/storage/testpatterns/testpattern.go +++ b/test/e2e/storage/testpatterns/testpattern.go @@ -255,6 +255,7 @@ var ( FsType: "ntfs", FeatureTag: "[sig-windows]", SnapshotDeletionPolicy: DeleteSnapshot, + SnapshotType: DynamicCreatedSnapshot, } // Definitions for Filesystem volume mode diff --git a/test/e2e/storage/testsuites/snapshottable.go b/test/e2e/storage/testsuites/snapshottable.go index 7cba54f7b6b..06feb277bf3 100644 --- a/test/e2e/storage/testsuites/snapshottable.go +++ b/test/e2e/storage/testsuites/snapshottable.go @@ -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("creating a snapshot content with the snapshot handle") 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 }