s3-tests/s3tests/functional
Robin H. Johnson d98d7956c1 Improve proxy error support: "Bad Request" case
If you are run the S3 testsuite against a reverse proxy (eg haproxy)
rather than RGW directly, some of the tests will return errors from the
proxy, rather than haproxy itself.

Some proxies differ from RGW in the exact case of 'Bad Request', so do
the match in a case-insensitive manner. Haproxy for example returns 'Bad
request'.

This removes the need for some of the prior fails_on_dho test tags, as
the failure was due to haproxy.

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2015-12-18 11:50:11 -08:00
..
__init__.py s3tests: do not exit cleanup after first bucket! 2015-12-01 17:28:23 -08:00
AnonymousAuth.py Move test_s3 into s3tests.functional, so it can be split to multiple files nicely. 2011-07-11 15:24:39 -07:00
test_headers.py Improve proxy error support: "Bad Request" case 2015-12-18 11:50:11 -08:00
test_s3.py Improve proxy error support: "Bad Request" case 2015-12-18 11:50:11 -08:00
test_utils.py Correctly generate non-mod 1024 parts in generator 2014-12-22 20:16:25 -08:00
utils.py Correctly generate non-mod 1024 parts in generator 2014-12-22 20:16:25 -08:00