Skip to content

Commit

Permalink
Remove all buckets which start with "clitst" during buckets cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
agoncharov-reef committed Jun 17, 2022
1 parent 002dd22 commit 317b70e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

* Nothing

### Added
* Add `include_existing_files` parameter to `ReplicationSetupHelper`

Expand Down
3 changes: 3 additions & 0 deletions test/integration/test_raw_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,9 @@ def _clean_and_delete_bucket(raw_api, api_url, account_auth_token, account_id, b
def _should_delete_bucket(bucket_name):
# Bucket names for this test look like: c7b22d0b0ad7-1460060364-5670
# Other buckets should not be deleted.
if bucket_name.startswith('clitst'):
return True

match = re.match(r'^test-raw-api-[a-f0-9]+-([0-9]+)-([0-9]+)', bucket_name)
if match is None:
return False
Expand Down

0 comments on commit 317b70e

Please sign in to comment.