Make ZaqarEventSinkTest more lenient
We don't have strong ordering of events enforced, so there is no need to test that events arrive in order, and it actually make tests fail intermittently. Let's relax that check. Change-Id: I73be763df5ddf863e29df1b9ac8792f05700e006 Closes-Bug: #1549264
This commit is contained in:
parent
c3c87b893f
commit
fe511a958c
@ -59,7 +59,8 @@ resources:
|
||||
stack_ids = [m.body['payload']['stack_id'] for m in messages]
|
||||
self.assertEqual([stack_id] * 4, stack_ids)
|
||||
statuses = [m.body['payload']['resource_status'] for m in messages]
|
||||
statuses.sort()
|
||||
self.assertEqual(
|
||||
['IN_PROGRESS', 'IN_PROGRESS', 'COMPLETE', 'COMPLETE'], statuses)
|
||||
['COMPLETE', 'COMPLETE', 'IN_PROGRESS', 'IN_PROGRESS'], statuses)
|
||||
actions = [m.body['payload']['resource_action'] for m in messages]
|
||||
self.assertEqual(['CREATE'] * 4, actions)
|
||||
|
Loading…
Reference in New Issue
Block a user