c00fca4a09
In case of global-request-id request, Adapter send two global request id header - "X-OpenStack-Request-ID" - "X-Openstack-Request-Id". Example: https://zuul.opendev.org/t/openstack/build/c5b1debf78df4aa3bdda34f0b4c53c37/log/testrepository.subunit#2385 This is becasue of the header not being Case Insensitive and end up with two different name of same header with difference of cap 'D'. Unit test for whether request global-request-id has precedence over adapter fail many times because of how different python version treat the dict. py3.6 and above are all good as dict maintain the insertion ordered but py3.5 can fail it any time. We can see consistent failure in py35 jobs: - https://review.opendev.org/#/c/730687/ Let's make the headers always Case Insensitive which is what RFC says. Change-Id: Iba707dd0506d22e144aca4fdfc9b140c8e37ae02 Closes-Bug: #1881351 |
||
---|---|---|
.. | ||
unit | ||
__init__.py |