From: Robin H. Johnson Date: Wed, 2 Dec 2015 01:25:06 +0000 (-0800) Subject: s3tests: do not exit cleanup after first bucket! X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=de65c582b77099c3bf8ab309bf3216a6a6f1cb34;p=s3-tests.git s3tests: do not exit cleanup after first bucket! Bucket cleanup code was exiting after the first succesful bucket removed, instead of cleaning up all buckets. This left many buckets behind over time, causing large slowdowns of the test suite. This was introduced in commit c41ebab9cf93617f06084cf88c297188b4aa9f67, when changes for versioned files were added. Signed-off-by: Kobi Laredo Signed-off-by: Robin H. Johnson Backport: hammer --- diff --git a/s3tests/functional/__init__.py b/s3tests/functional/__init__.py index 68f27bd4..a5917e1d 100644 --- a/s3tests/functional/__init__.py +++ b/s3tests/functional/__init__.py @@ -98,7 +98,7 @@ def nuke_prefixed_buckets_on_conn(prefix, name, conn): pass if success: - return + break bucket.set_canned_acl('private')