diff options
author | Peter Portante <peter.portante@redhat.com> | 2014-03-06 00:03:03 -0500 |
---|---|---|
committer | Peter Portante <peter.portante@redhat.com> | 2014-03-06 13:10:13 -0500 |
commit | a2c503ba2a36e154fb523f1446962b40550fa8e5 (patch) | |
tree | f2435b1c479c5799d1ee5cf37e2e06c2ae77eb46 /test/sample.conf | |
parent | 63dad5c8f4062531004b5d3a5edb4878127ca5a8 (diff) | |
download | swift-a2c503ba2a36e154fb523f1446962b40550fa8e5.tar.gz |
Add missing swift constraint for functional tests
Looks like we are keeping at least four lists of the default
constraints in various places, and when we added the max_header_size
in initial Static Large Object Support commit (5d73da15) we failed to
add it to the two locations in the test tree (test/sample.conf and
test/functional/tests.py).
With this commit we take a small step to consolidate the list of
constraints to the constraints module by removing the list from the
tests module (note we still have them listed in the sample swift.conf
file and the test module's sample.conf file), document the missing
reference in the test module's sample.conf file, and, while we're at
it, use the SWIFT_CONF_FILE reference where possible.
Change-Id: Ic4fa5f1aedec9bc7a7b43ce1a2ca3cdebce6171f
Diffstat (limited to 'test/sample.conf')
-rw-r--r-- | test/sample.conf | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/sample.conf b/test/sample.conf index 32d984e0d..161a588aa 100644 --- a/test/sample.conf +++ b/test/sample.conf @@ -25,15 +25,17 @@ password2 = testing2 username3 = tester3 password3 = testing3 -# Default constraints if not defined here, the test runner will try -# to set them from /etc/swift/swift.conf. If that file isn't found, -# the test runner will skip tests that depend on these values. +# If not defined here, the test runner will try to use the default constraint +# values as constructed by the constraints module, which will attempt to get +# them from /etc/swift/swift.conf, if possible. Then, if the swift.conf file +# isn't found, the test runner will skip tests that depend on those values. # Note that the cluster must have "sane" values for the test suite to pass. #max_file_size = 5368709122 #max_meta_name_length = 128 #max_meta_value_length = 256 #max_meta_count = 90 #max_meta_overall_size = 4096 +#max_header_size = 8192 #max_object_name_length = 1024 #container_listing_limit = 10000 #account_listing_limit = 10000 |