mirror of
https://github.com/ceph/go-ceph
synced 2024-12-22 06:10:09 +00:00
rbd: test for image GlobalID inequality
Signed-off-by: Daniel R <github@dann.me>
This commit is contained in:
parent
d5c981d9cb
commit
e1731150a5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user