diff --git a/tests/integration/test_storage_s3/test.py b/tests/integration/test_storage_s3/test.py index 87f9fec57b5..95b823c8345 100644 --- a/tests/integration/test_storage_s3/test.py +++ b/tests/integration/test_storage_s3/test.py @@ -379,6 +379,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", [