swift/test/unit/common
Darrell Bishop 207dd9b49d Fix regression in WSGI server SIGHUP behavior
The SIGHUP receipt used to pop us out of an os.wait() where now, it's in
a "green" wait() and Timeout() combo, some part of which eats the signal
receipt.  This causes the while loop condition to never get checked and
SIGHUP no longer works as a server reload command.

The fix is to loop at least every 0.5 seconds, as a trade-off between
not busy-waiting and checking the "keep running" condition often enough
to feel responsive.

Change-Id: I95283b8b7cfc2998ab5813e0ad3ca1fa231696c8
Closes-Bug: #1479972
2015-07-30 14:39:55 -07:00
..
middleware Use six to fix imports on Python 3 2015-07-24 11:48:28 +02:00
ring Merge "cPickle is deprecated in py3, replacing it from six.moves" 2015-07-28 12:33:24 +00:00
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
corrupted_example.db Real files for bad databases. 2011-08-02 18:21:25 +00:00
malformed_example.db Real files for bad databases. 2011-08-02 18:21:25 +00:00
test_base_storage_server.py Clean up a couple deprecation warnings 2015-02-24 10:12:16 -08:00
test_bufferedhttp.py Fix tempauth acl checks when simplejson has no speedups 2015-04-21 14:13:25 +01:00
test_constraints.py unit tests: Replace "self.assert_" by "self.assertTrue" 2015-07-21 19:23:00 +05:30
test_container_sync_realms.py Fix unit tests failing in some cases 2014-10-09 22:04:53 +05:30
test_daemon.py Merge "Get StringIO and cStringIO from six.moves" 2015-07-24 06:52:36 +00:00
test_db_replicator.py unit tests: Replace "self.assert_" by "self.assertTrue" 2015-07-21 19:23:00 +05:30
test_db.py Merge "cPickle is deprecated in py3, replacing it from six.moves" 2015-07-28 12:33:24 +00:00
test_direct_client.py Merge "Get StringIO and cStringIO from six.moves" 2015-07-24 06:52:36 +00:00
test_exceptions.py Remove swiftclient dep on direct_client 2013-12-24 03:11:43 -08:00
test_internal_client.py Get StringIO and cStringIO from six.moves 2015-07-15 16:56:33 +02:00
test_manager.py unit tests: Replace "self.assert_" by "self.assertTrue" 2015-07-21 19:23:00 +05:30
test_memcached.py unit tests: Replace "self.assert_" by "self.assertTrue" 2015-07-21 19:23:00 +05:30
test_request_helpers.py Allow sending object metadata after data 2015-04-14 00:52:17 -07:00
test_splice.py unit tests: Replace "self.assert_" by "self.assertTrue" 2015-07-21 19:23:00 +05:30
test_storage_policy.py Use six to fix imports on Python 3 2015-07-24 11:48:28 +02:00
test_swob.py Merge "Replace StringIO with BytesIO for WSGI input" 2015-07-24 06:52:40 +00:00
test_utils.py Merge "Use six to fix imports on Python 3" 2015-07-28 10:25:25 +00:00
test_wsgi.py Fix regression in WSGI server SIGHUP behavior 2015-07-30 14:39:55 -07:00