Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit 3e4b7be

Browse files
okartauavalluri
authored andcommitted
test/e2e/storage/csi_volumes.go: enable VolumeMode test suite
1 parent e63e7aa commit 3e4b7be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/e2e/storage/csi_volumes.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"sync"
2525
"sync/atomic"
2626

27-
"k8s.io/api/core/v1"
27+
v1 "k8s.io/api/core/v1"
2828
storagev1 "k8s.io/api/storage/v1"
2929
"k8s.io/apimachinery/pkg/api/errors"
3030
"k8s.io/apimachinery/pkg/api/resource"
@@ -70,6 +70,7 @@ var _ = Describe("PMEM Volumes", func() {
7070
testsuites.CapPersistence: true,
7171
testsuites.CapFsGroup: true,
7272
testsuites.CapExec: true,
73+
testsuites.CapBlock: true,
7374
},
7475
},
7576
scManifest: "deploy/kubernetes-1.13/pmem-storageclass-ext4.yaml",
@@ -92,7 +93,7 @@ var _ = Describe("PMEM Volumes", func() {
9293
// testsuites.InitSnapshottableTestSuite,
9394
// testsuites.InitSubPathTestSuite,
9495
// testsuites.InitVolumeIOTestSuite,
95-
// testsuites.InitVolumeModeTestSuite,
96+
testsuites.InitVolumeModeTestSuite,
9697
// testsuites.InitVolumesTestSuite,
9798
}
9899

0 commit comments

Comments
 (0)