mirror of https://github.com/ceph/go-ceph
Force trash remove to override deferment time
Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
This commit is contained in:
parent
837181cb94
commit
bdc1c100fe
|
@ -352,7 +352,7 @@ func TestTrashImage(t *testing.T) {
|
|||
assert.NoError(t, err)
|
||||
assert.Equal(t, len(trashList), 1, "trashList length equal")
|
||||
|
||||
err = rbd.TrashRemove(ioctx, trashList[0].Id, false)
|
||||
err = rbd.TrashRemove(ioctx, trashList[0].Id, true)
|
||||
assert.NoError(t, err)
|
||||
|
||||
ioctx.Destroy()
|
||||
|
|
Loading…
Reference in New Issue