Merge pull request #25221 from tspmelo/wip-37354

mgr/dashboard: Fix test_remove_not_expired_trash qa test

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
This commit is contained in:
Lenz Grimmer 2018-11-23 13:03:45 +01:00 committed by GitHub
commit 60d4fa608e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)