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

Commit c9bf3a4

Browse files
committed
test: enable tests using the default filesystem
Several (all?) of the volumeMode tests run with the default filesystem (i.e. the empty string). If we don't list that as supported, raw block tests are not executed: S [SKIPPING] in Spec Setup (BeforeEach) [0.005 seconds] PMEM Volumes /nvme/gopath/src/github.com/intel/pmem-csi/test/e2e/storage/csi_volumes.go:57 [Driver: pmem-csi] /nvme/gopath/src/github.com/intel/pmem-csi/test/e2e/storage/csi_volumes.go:102 [Testpattern: Dynamic PV (block volmode)] volumes /nvme/gopath/src/github.com/intel/pmem-csi/vendor/k8s.io/kubernetes/test/e2e/storage/testsuites/base.go:92 should store data [BeforeEach] /nvme/gopath/src/github.com/intel/pmem-csi/vendor/k8s.io/kubernetes/test/e2e/storage/testsuites/volumes.go:146 Driver pmem-csi doesn't support -- skipping /nvme/gopath/src/github.com/intel/pmem-csi/vendor/k8s.io/kubernetes/test/e2e/storage/testsuites/base.go:151
1 parent f95b525 commit c9bf3a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/e2e/storage/csi_volumes.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ var _ = Describe("PMEM Volumes", func() {
6464
Name: "pmem-csi",
6565
MaxFileSize: testpatterns.FileSizeMedium,
6666
SupportedFsType: sets.NewString(
67-
"ext4", "xfs",
67+
"", "ext4", "xfs",
6868
),
6969
Capabilities: map[testsuites.Capability]bool{
7070
testsuites.CapPersistence: true,
@@ -74,6 +74,7 @@ var _ = Describe("PMEM Volumes", func() {
7474
},
7575
},
7676
scManifest: map[string]string{
77+
"": "deploy/kubernetes-1.13/pmem-storageclass-ext4.yaml",
7778
"ext4": "deploy/kubernetes-1.13/pmem-storageclass-ext4.yaml",
7879
"xfs": "deploy/kubernetes-1.13/pmem-storageclass-xfs.yaml",
7980
},

0 commit comments

Comments
 (0)