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:
Mohammed Naser 2021-06-05 10:43:04 -04:00 committed by mergify[bot]
parent f11722a472
commit f476a376f7

View File

@ -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{