Skip to content

Commit e84271e

Browse files
committed
e2e/storage: allow empty volume type
This can happen when the test pattern is about snapshotting.
1 parent 915d636 commit e84271e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/e2e/storage/external/external.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ func (d *driverDefinition) SkipUnsupportedTest(pattern testpatterns.TestPattern)
192192
supported := false
193193
// TODO (?): add support for more volume types
194194
switch pattern.VolType {
195+
case "":
196+
supported = true
195197
case testpatterns.DynamicPV:
196198
if d.StorageClass.FromName || d.StorageClass.FromFile != "" {
197199
supported = true

0 commit comments

Comments
 (0)