Skip to content

Commit

Permalink
rbd: test for image GlobalID inequality
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel R <github@dann.me>
  • Loading branch information
diffs authored and mergify[bot] committed Oct 2, 2023
1 parent d5c981d commit e173115
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rbd/mirror_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e173115

Please sign in to comment.