mgr/dashboard: Fix test_remove_not_expired_trash qa test

Fixes: http://tracker.ceph.com/issues/37354

Signed-off-by: Tiago Melo <tmelo@suse.com>
This commit is contained in:
Tiago Melo 2018-11-22 11:33:35 +00:00
parent c881d63a69
commit 0f6e8e5f3d

View File

@ -677,6 +677,8 @@ class RbdTest(DashboardTestCase):
self.remove_trash('rbd', id, 'test_rbd', False)
self.assertStatus(400)
time.sleep(1)
image = self.get_trash('rbd', id)
self.assertIsNotNone(image)