From f193ebfbb1a613088ee7b2d7a3f748ed81051d7b Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Sat, 5 Jun 2021 10:43:04 -0400 Subject: [PATCH] rbd: Add failing test when no features are provided Signed-off-by: Mohammed Naser --- internal/rbd/rbd_util_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal/rbd/rbd_util_test.go b/internal/rbd/rbd_util_test.go index b8122585a..166cb460b 100644 --- a/internal/rbd/rbd_util_test.go +++ b/internal/rbd/rbd_util_test.go @@ -51,6 +51,14 @@ func TestValidateImageFeatures(t *testing.T) { isErr bool errMsg string }{ + { + "", + &rbdVolume{ + Mounter: rbdDefaultMounter, + }, + false, + "", + }, { "layering", &rbdVolume{