Fix test_storage_s3/test_put_get_with_globs (cleanup after test)

This commit is contained in:
Anton Ivashkin 2021-08-30 13:31:46 +03:00
parent 4135d67d42
commit 2e33072469

View File

@ -326,6 +326,10 @@ def test_put_get_with_globs(started_cluster):
assert run_query(instance, query).splitlines() == [
"450\t450\t900\t0.csv\t{bucket}/{max_path}".format(bucket=bucket, max_path=max_path)]
minio = started_cluster.minio_client
for obj in list(minio.list_objects(started_cluster.minio_bucket, prefix='{}/'.format(unique_prefix), recursive=True)):
minio.remove_object(started_cluster.minio_bucket, obj.object_name)
# Test multipart put.
@pytest.mark.parametrize("maybe_auth,positive", [