This was previously set for all functional API samples
tests to try and fix a weird issue where requests and responses
seemed to get mixed up between the compute API wsgi service
fixture used in the API samples functional tests and the
Placement API functional tests.
However, we're also seeing these weird mixup issues in
non-API samples tests, and there are other wsgi server fixtures
that should be setting this, like the OSMetadataServer
fixture. And there are functional tests that don't inherit from
_IntegratedTestBase so we should just set this globally to be
safe.
Reviewed: https:/ /review. openstack. org/483972 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=d812c7eb3c7 f0ce80c3548e9ae c10b9fdc650a67
Committed: https:/
Submitter: Jenkins
Branch: master
commit d812c7eb3c7f0ce 80c3548e9aec10b 9fdc650a67
Author: Matt Riedemann <email address hidden>
Date: Fri Jul 14 11:40:13 2017 -0400
Set wsgi.keep_ alive=False globally for tests
This was previously set for all functional API samples
tests to try and fix a weird issue where requests and responses
seemed to get mixed up between the compute API wsgi service
fixture used in the API samples functional tests and the
Placement API functional tests.
However, we're also seeing these weird mixup issues in TestBase so we should just set this globally to be
non-API samples tests, and there are other wsgi server fixtures
that should be setting this, like the OSMetadataServer
fixture. And there are functional tests that don't inherit from
_Integrated
safe.
Related-Bug: #1686109
Related-Bug: #1696834
Change-Id: Ie307e4d43be4b3 e40dd75384ea6bb 77598811713