Fix failing test cases
Patch: I334da33385b5d6a387824056a5ba6aa982759314 released a new version of oslo.context which includes the change to add global request_id to context: I1521188ae627fa2e7d35aa2ffffbcb620c527765. This patch fixes the failing test cases by adding global_request_id to context in tests assertion. Reference to failing logs: http://logs.openstack.org/08/462108/6/check/gate-masakari-python27-ubuntu-xenial/210acc8/ Change-Id: I6e8fe2b3963f4ffdc751c241f03bd47d230f2a98
This commit is contained in:
parent
bfb4888f18
commit
2d4c349b16
|
@ -119,6 +119,7 @@ class ContextTestCase(test.NoDBTestCase):
|
|||
expected_values = {'auth_token': None,
|
||||
'domain': None,
|
||||
'is_admin': False,
|
||||
'global_request_id': None,
|
||||
'is_admin_project': True,
|
||||
'project_domain': None,
|
||||
'project_id': 222,
|
||||
|
@ -148,6 +149,7 @@ class ContextTestCase(test.NoDBTestCase):
|
|||
values = {'auth_token': None,
|
||||
'domain': None,
|
||||
'is_admin': True,
|
||||
'global_request_id': None,
|
||||
'is_admin_project': True,
|
||||
'project_domain': None,
|
||||
'project_id': '222',
|
||||
|
@ -182,6 +184,7 @@ class ContextTestCase(test.NoDBTestCase):
|
|||
values = {'auth_token': None,
|
||||
'domain': None,
|
||||
'is_admin': True,
|
||||
'global_request_id': None,
|
||||
'is_admin_project': True,
|
||||
'project_domain': None,
|
||||
'project_id': '222',
|
||||
|
|
Loading…
Reference in New Issue