Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestVolumeAttachmentUpdateValidation (0.25 sec)

  1. pkg/apis/storage/validation/validation_test.go

    		if errs := ValidateVolumeAttachment(&volumeAttachment); len(errs) == 0 {
    			t.Errorf("expected failure for test: %v", volumeAttachment)
    		}
    	}
    }
    
    func TestVolumeAttachmentUpdateValidation(t *testing.T) {
    	volumeName := "foo"
    	newVolumeName := "bar"
    
    	old := storage.VolumeAttachment{
    		ObjectMeta: metav1.ObjectMeta{Name: "foo"},
    		Spec: storage.VolumeAttachmentSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
Back to top