2810N/A - Tests involving large (5GB+) bodies are mocked, but on 32-bit python,
2810N/A len() is limited to returning a ssize_t, which can represent 2GB.
3482N/A - Solaris exclusive file locks don't fail when applied multiple times
3482N/A from a single process (it has to happen in a separate process).
3482N/A sufficient privileges. This allows us to set SWIFT_TEST_CONFIG_FILE
3482N/A and run the functional tests.
2900N/AThe first, while potentially useful elsewhere, is really only an issue on
2900N/ASolaris because Linux runs almost exclusively 64-bit, which makes this a
3482N/Anon-issue. The second is Solaris-only -- though clearly a similar problem
3482N/Aexists on MacOS -- and we will want to fix this in our Python. The third
3482N/Ais not in a form that is worth sending upstream. To test this properly,
3482N/Athe test should fork a separate process to test the lock, which should work
2900N/A@@ -450,7 +450,7 @@ def fake_http_connect(*code_iter, **kwar
2810N/A etag = '"68b329da9893e34099c7d8ad5cb9c940"'
2810N/A class LargeResponseBody(object):
2810N/A class LargeResponseBody(object):
2810N/A }, 'server', log_route='server')
3482N/A from tempfile import TemporaryFile, NamedTemporaryFile, mkdtemp
3482N/A from netifaces import AF_INET6
3482N/A from mock import MagicMock, patch
3482N/A ConnectionTimeout, LockTimeout)
3482N/A MagicMock(side_effect=BaseException('test3')))
3482N/A with NamedTemporaryFile(delete=False) as nt:
3482N/A@@ -29,16 +29,16 @@ password3 = testing3
3482N/A # the test runner will skip tests that depend on these values.
3482N/A # Note that the cluster must have "sane" values for the test suite to pass.
3482N/A-#max_file_size = 5368709122
3482N/A-#max_meta_name_length = 128
3482N/A-#max_meta_value_length = 256
3482N/A-#max_meta_overall_size = 4096
3482N/A-#max_object_name_length = 1024
3482N/A-#container_listing_limit = 10000
3482N/A-#account_listing_limit = 10000
3482N/A-#max_account_name_length = 256
3482N/A-#max_container_name_length = 256
3482N/A+max_meta_value_length = 256
3482N/A+max_meta_overall_size = 4096
3482N/A+max_object_name_length = 1024
3482N/A+container_listing_limit = 10000
3482N/A+account_listing_limit = 10000
3482N/A+max_account_name_length = 256
3482N/A+max_container_name_length = 256