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 c41ebab9cf,
when changes for versioned files were added.

Signed-off-by: Kobi Laredo <kobi.laredo@dreamhost.com>
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
Backport: hammer
This commit is contained in:
Robin H. Johnson 2015-12-01 17:25:06 -08:00
parent 017354ae07
commit de65c582b7

View file

@ -98,7 +98,7 @@ def nuke_prefixed_buckets_on_conn(prefix, name, conn):
pass pass
if success: if success:
return break
bucket.set_canned_acl('private') bucket.set_canned_acl('private')