Skip to content

Commit 9cf4f91

Browse files
authored
Merge pull request kubernetes#127908 from ii/promote-csinode-lifecycle-test
Promote CSINode e2e test to Conformance
2 parents aa09157 + cf0e605 commit 9cf4f91

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

test/conformance/testdata/conformance.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2791,6 +2791,18 @@
27912791
patch, and delete operations.
27922792
release: v1.26
27932793
file: test/e2e/storage/csi_inline.go
2794+
- testname: CSINode, lifecycle
2795+
codename: '[sig-storage] CSINodes CSI Conformance should run through the lifecycle
2796+
of a csinode [Conformance]'
2797+
description: Creating an initial CSINode MUST succeed. Reading a CSINode MUST succeed
2798+
with required name retrieved. Patching a CSINode MUST succeed with its new label
2799+
found. Listing CSINode with a labelSelector MUST succeed. Deleting a CSINode MUST
2800+
succeed and it MUST be confirmed. Creating a replacement CSINode MUST succeed.
2801+
Reading a CSINode MUST succeed with required name retrieved. Updating a CSINode
2802+
MUST succeed with its new label found. Deleting the CSINode via deleteCollection
2803+
MUST succeed and it MUST be confirmed.
2804+
release: v1.32
2805+
file: test/e2e/storage/csi_node.go
27942806
- testname: CSIStorageCapacity API
27952807
codename: '[sig-storage] CSIStorageCapacity should support CSIStorageCapacities
27962808
API operations [Conformance]'

test/e2e/storage/csi_node.go

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,18 @@ var _ = utils.SIGDescribe("CSINodes", func() {
4040

4141
ginkgo.Describe("CSI Conformance", func() {
4242

43-
ginkgo.It("should run through the lifecycle of a csinode", func(ctx context.Context) {
43+
/*
44+
Release: v1.32
45+
Testname: CSINode, lifecycle
46+
Description: Creating an initial CSINode MUST succeed. Reading a CSINode MUST
47+
succeed with required name retrieved. Patching a CSINode MUST succeed with its
48+
new label found. Listing CSINode with a labelSelector MUST succeed. Deleting a
49+
CSINode MUST succeed and it MUST be confirmed. Creating a replacement CSINode
50+
MUST succeed. Reading a CSINode MUST succeed with required name retrieved. Updating
51+
a CSINode MUST succeed with its new label found. Deleting the CSINode via deleteCollection
52+
MUST succeed and it MUST be confirmed.
53+
*/
54+
framework.ConformanceIt("should run through the lifecycle of a csinode", func(ctx context.Context) {
4455

4556
csiNodeClient := f.ClientSet.StorageV1().CSINodes()
4657

0 commit comments

Comments
 (0)