yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #54619
[Bug 1609398] [NEW] test_implied_roles fails intermittently
Public bug reported:
test_implied_roles [1] is failing intermitently. See [2] as an example.
That test is asserting that the initial role count added to the number
of roles created in the test matches what is currently returned by the
server.
However, as there are many (at least 25) API calls happening in the
meantime, it is not hard to have another test (running in parallel)
touching roles, thus making the test fail with not matching counts.
It should be okay to simply remove such check from that test, as the
test (implied roles test) is not supposed to assert the number of roles.
[1] https://github.com/openstack/python-
keystoneclient/blob/41129c850394e97947ec374dad8e852b5e1b33b5/keystoneclient/tests/functional/v3/test_implied_roles.py#L50-L62
[2] https://review.openstack.org/#/c/334546/11
** Affects: keystone
Importance: Medium
Assignee: Samuel de Medeiros Queiroz (samueldmq)
Status: New
** Changed in: keystone
Importance: Undecided => Medium
** Changed in: keystone
Assignee: (unassigned) => Samuel de Medeiros Queiroz (samueldmq)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1609398
Title:
test_implied_roles fails intermittently
Status in OpenStack Identity (keystone):
New
Bug description:
test_implied_roles [1] is failing intermitently. See [2] as an
example.
That test is asserting that the initial role count added to the number
of roles created in the test matches what is currently returned by the
server.
However, as there are many (at least 25) API calls happening in the
meantime, it is not hard to have another test (running in parallel)
touching roles, thus making the test fail with not matching counts.
It should be okay to simply remove such check from that test, as the
test (implied roles test) is not supposed to assert the number of
roles.
[1] https://github.com/openstack/python-
keystoneclient/blob/41129c850394e97947ec374dad8e852b5e1b33b5/keystoneclient/tests/functional/v3/test_implied_roles.py#L50-L62
[2] https://review.openstack.org/#/c/334546/11
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1609398/+subscriptions
Follow ups