csi-sanity: some controller and node tests cases try to create a volume, even if plugin has no create volume capability #214
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
Brief:
I am developing a CSI plugin, and at first stages I do not provide dynamic volume provisioning API support (which is a valid plugin according to CSI spec). That is, my plugin does not advertise
CREATE_DELETE_VOLUME
Controller Service capability.But, there are 3 test cases where csi-sanity still sends CreateVolumeRequest to Controller Server.
Tests output:
Test cases:
From
node.go:648
:From
controller.go:936
:From
controller.go:991
:IMO, these test cases should be skipped, when Controller service does not have
CREATE_DELETE_VOLUME
capability.Thanks!
The text was updated successfully, but these errors were encountered: