The tests in test_wsgi should stop the server once the test is over,
otherwise it would continue running and potentially affect other
tests.
Also, there were a couple of tests that did
environment.use_eventlet() in setUp, which has no effect since this
was already done in keystone.tests.core, and it's incorrect to put
this in a test setUp since it would affect other tests as it's an
application-wide library setting.
Reviewed: https:/ /review. openstack. org/140835 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=20b272a7b47 dd14eae10655746 2e6692c0a0bf41
Committed: https:/
Submitter: Jenkins
Branch: master
commit 20b272a7b47dd14 eae106557462e66 92c0a0bf41
Author: Brant Knudson <email address hidden>
Date: Wed Dec 10 14:58:12 2014 -0600
Cleanup eventlet use in tests
The tests in test_wsgi should stop the server once the test is over,
otherwise it would continue running and potentially affect other
tests.
Also, there were a couple of tests that did .use_eventlet( ) in setUp, which has no effect since this tests.core, and it's incorrect to put -wide library setting.
environment
was already done in keystone.
this in a test setUp since it would affect other tests as it's an
application
Closes-Bug: #1400565 6aaa0eafaca895b cf7a1f69eb0
Change-Id: Ibb00a1afa64cf4