mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 23:00:19 +00:00
rbd: Add failing test when no features are provided
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
(cherry picked from commit f193ebfbb1
)
This commit is contained in:
parent
f11722a472
commit
f476a376f7
@ -51,6 +51,14 @@ func TestValidateImageFeatures(t *testing.T) {
|
|||||||
isErr bool
|
isErr bool
|
||||||
errMsg string
|
errMsg string
|
||||||
}{
|
}{
|
||||||
|
{
|
||||||
|
"",
|
||||||
|
&rbdVolume{
|
||||||
|
Mounter: rbdDefaultMounter,
|
||||||
|
},
|
||||||
|
false,
|
||||||
|
"",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"layering",
|
"layering",
|
||||||
&rbdVolume{
|
&rbdVolume{
|
||||||
|
Loading…
Reference in New Issue
Block a user