Skip to content

Commit c06e99f

Browse files
committed
chore(ci): fix e2e on nfs
Signed-off-by: Maksim Fedotov <maksim.fedotov@flant.com>
1 parent 0cb77f9 commit c06e99f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/e2e/legacy/image_hotplug.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ var _ = Describe("ImageHotplug", Ordered, func() {
5050
)
5151

5252
BeforeAll(func() {
53+
if conf.StorageClass.TemplateStorageClass != nil && conf.StorageClass.TemplateStorageClass.Provisioner == "nfs.csi.k8s.io" {
54+
Skip("VirtualImages on PVC only work with block storage classes, skipping NFS")
55+
}
56+
5357
kustomization := fmt.Sprintf("%s/%s", conf.TestData.ImageHotplug, "kustomization.yaml")
5458
var err error
5559
ns, err = kustomize.GetNamespace(kustomization)

0 commit comments

Comments
 (0)