rbd: Add failing test when no features are provided

Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
This commit is contained in:
Mohammed Naser 2021-06-05 10:43:04 -04:00 committed by mergify[bot]
parent 924a5ab949
commit f193ebfbb1

View File

@ -51,6 +51,14 @@ func TestValidateImageFeatures(t *testing.T) {
isErr bool
errMsg string
}{
{
"",
&rbdVolume{
Mounter: rbdDefaultMounter,
},
false,
"",
},
{
"layering",
&rbdVolume{