Force trash remove to override deferment time

Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
This commit is contained in:
Daniel Swarbrick 2018-09-17 23:33:23 +02:00
parent 837181cb94
commit bdc1c100fe
No known key found for this signature in database
GPG Key ID: C346A9571DD986F5
1 changed files with 1 additions and 1 deletions

View File

@ -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()