From fe49adf8b665d71493ab6a4565fc8a837a0f3f7a Mon Sep 17 00:00:00 2001 From: licanwei Date: Mon, 19 Nov 2018 10:46:00 +0800 Subject: [PATCH] delete failed audit Change-Id: I5b3fdf25b78e78dddadb696b1009ad3be7176219 --- watcher_tempest_plugin/tests/api/admin/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/watcher_tempest_plugin/tests/api/admin/base.py b/watcher_tempest_plugin/tests/api/admin/base.py index 6a508f9..f3568c1 100644 --- a/watcher_tempest_plugin/tests/api/admin/base.py +++ b/watcher_tempest_plugin/tests/api/admin/base.py @@ -192,6 +192,7 @@ class BaseInfraOptimTest(test.BaseTestCase): ) if cls.has_audit_failed(audit_uuid): audit_success = False + cls.delete_audit(audit_uuid) else: audit_success = True retry -= 1