Promote VolumeAttachment e2e test to Conformance
This commit is contained in:
		
							
								
								
									
										14
									
								
								test/conformance/testdata/conformance.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								test/conformance/testdata/conformance.yaml
									
									
									
									
										vendored
									
									
								
							@@ -3545,4 +3545,18 @@
 | 
			
		||||
    was configured with a subpath.
 | 
			
		||||
  release: v1.12
 | 
			
		||||
  file: test/e2e/storage/subpath.go
 | 
			
		||||
- testname: VolumeAttachment, lifecycle
 | 
			
		||||
  codename: '[sig-storage] VolumeAttachment Conformance should run through the lifecycle
 | 
			
		||||
    of a VolumeAttachment [Conformance]'
 | 
			
		||||
  description: Creating an initial VolumeAttachment MUST succeed. Reading the VolumeAttachment
 | 
			
		||||
    MUST succeed with with required name retrieved. Patching a VolumeAttachment MUST
 | 
			
		||||
    succeed with its new label found. Listing VolumeAttachment with a labelSelector
 | 
			
		||||
    MUST succeed with a single item retrieved. Deleting a VolumeAttachment MUST succeed
 | 
			
		||||
    and it MUST be confirmed. Creating a second VolumeAttachment MUST succeed. Updating
 | 
			
		||||
    the second VolumentAttachment with a new label MUST succeed with its new label
 | 
			
		||||
    found. Creating a third VolumeAttachment MUST succeed. Updating the third VolumentAttachment
 | 
			
		||||
    with a new label MUST succeed with its new label found. Deleting both VolumeAttachments
 | 
			
		||||
    via deleteCollection MUST succeed and it MUST be confirmed.
 | 
			
		||||
  release: v1.30
 | 
			
		||||
  file: test/e2e/storage/volume_attachment.go
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -39,9 +39,22 @@ var _ = utils.SIGDescribe("VolumeAttachment", func() {
 | 
			
		||||
 | 
			
		||||
	f := framework.NewDefaultFramework("volumeattachment")
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
		Release: v1.30
 | 
			
		||||
		Testname: VolumeAttachment, lifecycle
 | 
			
		||||
		Description: Creating an initial VolumeAttachment MUST succeed. Reading the VolumeAttachment
 | 
			
		||||
		MUST succeed with with required name retrieved. Patching a VolumeAttachment MUST
 | 
			
		||||
		succeed with its new label found. Listing VolumeAttachment with a labelSelector
 | 
			
		||||
		MUST succeed with a single item retrieved. Deleting a VolumeAttachment MUST succeed
 | 
			
		||||
		and it MUST be confirmed. Creating a second VolumeAttachment MUST succeed. Updating
 | 
			
		||||
		the second VolumentAttachment with a new label MUST succeed with its new label
 | 
			
		||||
		found. Creating a third VolumeAttachment MUST succeed. Updating the third VolumentAttachment
 | 
			
		||||
		with a new label MUST succeed with its new label found. Deleting both VolumeAttachments
 | 
			
		||||
		via deleteCollection MUST succeed and it MUST be confirmed.
 | 
			
		||||
	*/
 | 
			
		||||
	ginkgo.Describe("Conformance", func() {
 | 
			
		||||
 | 
			
		||||
		ginkgo.It("should run through the lifecycle of a VolumeAttachment", func(ctx context.Context) {
 | 
			
		||||
		framework.ConformanceIt("should run through the lifecycle of a VolumeAttachment", func(ctx context.Context) {
 | 
			
		||||
 | 
			
		||||
			vaClient := f.ClientSet.StorageV1().VolumeAttachments()
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user