From e1731150a5e5c732b14375d309b3f230a6cc130f Mon Sep 17 00:00:00 2001 From: DanWritesCode Date: Fri, 29 Sep 2023 11:43:08 -0400 Subject: [PATCH] rbd: test for image GlobalID inequality Signed-off-by: Daniel R --- rbd/mirror_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rbd/mirror_test.go b/rbd/mirror_test.go index 1d90634..b3ea428 100644 --- a/rbd/mirror_test.go +++ b/rbd/mirror_test.go @@ -882,6 +882,7 @@ func TestMirrorImageLists(t *testing.T) { assert.Len(t, lst, 10) for i := 1; i < len(lst); i++ { assert.NotEqual(t, lst[i-1].ID, lst[i].ID) + assert.NotEqual(t, lst[i-1].Status.Info.GlobalID, lst[i].Status.Info.GlobalID) } for i := 1; i <= iterBufSize; i++ { lst, err := MirrorImageGlobalStatusList(ioctx, "", i)