test.patch revision 4070
3482N/A - Uncomment portions of test/sample.conf to match what we ship in
3482N/A /etc/swift/swift.conf, since the latter can't be read without
4070N/A--- swift-2.2.2/test/sample.conf.~1~ 2015-02-01 23:44:11.000000000 -0800
4070N/A+++ swift-2.2.2/test/sample.conf 2015-02-26 16:36:42.753470819 -0800
4070N/A headers = swob.HeaderKeyDict({
4070N/A+ 'content-length': self.body.__len__(),
4070N/A 'content-type': 'x-application/test',
4070N/A 'x-timestamp': self.timestamp,
4070N/A 'x-backend-timestamp': self.timestamp,
4070N/A--- swift-2.2.2/test/unit/common/test_utils.py.~1~ 2015-02-01 23:44:11.000000000 -0800
4070N/A+++ swift-2.2.2/test/unit/common/test_utils.py 2015-02-26 16:36:42.756657286 -0800
4070N/A from swift.common.exceptions import (Timeout, MessageTimeout,
4070N/A@@ -733,6 +734,8 @@ class TestUtils(unittest.TestCase):
4070N/A utils.HASH_PATH_PREFIX = 'startcap'
4070N/A+ if sys.platform == 'sunos5':
4070N/A with utils.lock_path(tmpdir, 0.1):
4070N/A@@ -749,6 +752,8 @@ class TestUtils(unittest.TestCase):
4070N/A shutil.rmtree(tmpdir)
4070N/A+ if sys.platform == 'sunos5':
4070N/A@@ -773,6 +778,8 @@ class TestUtils(unittest.TestCase):
4070N/A self.assertTrue(exception_raised[0])
4070N/A+ if sys.platform == 'sunos5':
4070N/A with utils.lock_path(tmpdir, 0.1, ReplicationLockTimeout):
4070N/A@@ -1195,7 +1202,8 @@ class TestUtils(unittest.TestCase):
4070N/A 'facility': orig_sysloghandler.LOG_LOCAL3})]
4070N/A+ if sys.platform == 'sunos5' or \
4070N/A # Since socket on OSX is in /var/run/syslog, there will be
4070N/A@@ -2374,6 +2382,8 @@ cluster_dfw1 = http://dfw1.host/v1/
4070N/A+ if sys.platform == 'sunos5':
4070N/A@@ -2452,6 +2462,8 @@ cluster_dfw1 = http://dfw1.host/v1/
4070N/A+ if sys.platform == 'sunos5':
4070N/A@@ -2468,6 +2480,8 @@ cluster_dfw1 = http://dfw1.host/v1/
4070N/A+ if sys.platform == 'sunos5':
4070N/A--- swift-2.2.2/test/unit/obj/test_diskfile.py.~1~ 2015-02-01 23:44:11.000000000 -0800
4070N/A+++ swift-2.2.2/test/unit/obj/test_diskfile.py 2015-02-26 16:36:42.757582696 -0800
4070N/A@@ -902,6 +903,8 @@ class TestDiskFileManager(unittest.TestC
4070N/A self.assertEqual(hashes, {})
4070N/A+ if sys.platform == 'sunos5':
4070N/A--- swift-2.2.2/test/unit/proxy/test_server.py.~1~ 2015-02-01 23:44:11.000000000 -0800
4070N/A+++ swift-2.2.2/test/unit/proxy/test_server.py 2015-02-26 16:36:42.760354922 -0800
4070N/A@@ -3376,6 +3376,9 @@ class TestObjectController(unittest.Test
4070N/A return constraints.MAX_FILE_SIZE + 1
4070N/A@@ -3620,6 +3623,9 @@ class TestObjectController(unittest.Test
4070N/A return constraints.MAX_FILE_SIZE + 1
4070N/A@@ -3644,6 +3650,9 @@ class TestObjectController(unittest.Test
4070N/A return constraints.MAX_FILE_SIZE + 1