Skip to content

Commit

Permalink
Update uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
parasj committed Sep 10, 2022
1 parent 16e4008 commit dee337f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/cp.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ def setup_buckets(src_region, dest_region, n_files=1, file_size_mb=1):
src_provider, src_zone = src_region.split(":")
dest_provider, dest_zone = dest_region.split(":")
if src_provider == "azure":
src_bucket_name = f"integration{src_zone}/{uuid.uuid4().replace('-', '')}"
src_bucket_name = f"integration{src_zone}/{str(uuid.uuid4()).replace('-', '')}"
else:
src_bucket_name = f"skyplaneintegration{src_zone}-{str(uuid.uuid4())[:8]}"
if dest_provider == "azure":
dest_bucket_name = f"skyplaneintegration{dest_zone}/{uuid.uuid4().replace('-', '')}"
dest_bucket_name = f"skyplaneintegration{dest_zone}/{str(uuid.uuid4()).replace('-', '')}"
else:
dest_bucket_name = f"skyplane-integration-{dest_zone}-{str(uuid.uuid4())[:8]}"
logger.debug(f"creating buckets {src_bucket_name} and {dest_bucket_name}")
Expand Down

0 comments on commit dee337f

Please sign in to comment.