Fix the tempest that checks executing Mistral twice

Change-Id: Ia7c12168c10c84e1bfc38fd1b70b8b987f6ed8af
This commit is contained in:
Ifat Afek 2019-03-27 17:18:27 +00:00
parent d92a75cc07
commit cb433b7a3f
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,8 @@
# under the License.
import json
import time
from oslo_log import log as logging
from testtools.matchers import HasLength
@ -119,6 +121,8 @@ class TestMistralNotifier(BaseTestEvents):
if template:
v_utils.delete_template(template['uuid']) # no longer needed
time.sleep(2) # wait for the evaluator to process the new template
# Verify that there is an execution for every instance
executions = self.mistral_client.executions.list()
self.assertIsNotNone(executions,