summaryrefslogtreecommitdiffstats
path: root/nova/tests/test_wsgi.py
Commit message (Collapse)AuthorAgeFilesLines
* Increase maximum URI size for EC2 API to 16kBurt Holzman2013-01-241-0/+21
| | | | | | | | | | The EC2 API supports both HTTP GET and POST agnostically. It also supports user-data of 16k -- meaning that client tools could generate 16k URIs. The WSGI default limit is 8k; this raises it. Fixes bug 1098646. Change-Id: Idec460d88b2affab970c9d9f39fa61295db035c5
* Adds SSL support for API server.Ilya Alekseyev2013-01-231-0/+97
| | | | | | | | | | | | | Part of code in test for accessing with ipv6 and part of ssl socket wrapping developed by Davanum Srinivas. Original patch could be found here: https://review.openstack.org/#/c/19559 DocImpact Fixes bug 869884. Change-Id: I6d60df77c3fb49552e597f94abae7f4d6f54044d
* Enhance wsgi to listen on ipv6 addressDavanum Srinivas2013-01-091-0/+9
| | | | | | | * Check if the hostname is ipv6 and set the family appropriately * Add test case for wsgi.Server and service.WSGIService Change-Id: I6edd467467fa3d623d62e146750b3a6c42d8833c
* Use nova.test.TestCase as the base test class.Clark Boylan2012-12-121-4/+4
| | | | | | | | | Subclass nova.test.TestCase instead of unittest.TestCase so that all tests get the proper setUp and tearDown needed for all tests. Part of blueprint grizzly-testtools Change-Id: I8f3cd49e6e0e36eade1fd6ccb6c15359d38f2236
* Typo fix: existant => existentJoe Gordon2012-08-221-1/+1
| | | | | | | | | Impact: * debug log message in nova/compute/manager * Test function names * Test strings and comments Change-Id: I9be1b0ced2dfe257eef9785659f2cbe27b07ad3f
* Add multi-process support for API servicesJohannes Erdfelt2012-06-281-2/+2
| | | | | | | | | | | | | | | | | Implements blueprint multi-process-api-service This is based on Huang Zhiteng's patch. This patch adds support for running services as multiple processes. This is primarily intended to be used with the API service as a way to provide more concurrency than eventlet can sometimes provide. A SIGTERM or SIGINT signal will cause the parent process to gracefully terminate the child processes, allowing them to finish processing the requests currently being processed. The parent will wait for the children to finish before exiting. Change-Id: Ie6d6802626eb42d5e64c4167be363fbf6cea2a1b
* Use stubout instead of manually stubbing out os.path.existsJohannes Erdfelt2012-03-021-7/+4
| | | | Change-Id: I76105662003c7dfdea29a9a7dea20b003111e399
* Moves find config to utils because it is usefulVishvananda Ishaya2011-12-101-1/+1
| | | | | | | This is to prepare for a future patch will will use find config to load other config files. Change-Id: Ic9bd9027baf518734c3f51f516651b80d1e752f2
* I accidently the whole unittest2Brian Lamar2011-06-281-1/+1
|
* Very small alterations, switched from using start() to pass host/port, to ↵Brian Lamar2011-06-211-2/+3
| | | | just defining them up front in init. Doesn't make sense to set them in start because we can't start more than once any way. Also, unbroke binaries.
* pep8 fixesBrian Lamar2011-06-201-1/+1
|
* Cleanup and addition of tests for WSGI server.Brian Lamar2011-06-201-3/+18
|
* No, really. Added tests for WSGI loader.Brian Lamar2011-06-191-0/+79