Skip to content

Commit

Permalink
revert debug cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan King committed Feb 22, 2024
1 parent 02c4184 commit 31b850f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions hail/python/test/hailtop/inter_cloud/test_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,18 @@ async def router_filesystem(
sema = asyncio.Semaphore(50)
async with sema:
yield (sema, fs, bases)
# await bounded_gather2(
# sema,
# functools.partial(fs.rmtree, sema, file_base),
# functools.partial(fs.rmtree, sema, gs_base),
# functools.partial(fs.rmtree, sema, s3_base),
# functools.partial(fs.rmtree, sema, azure_base),
# )

# assert not await fs.isdir(file_base)
# assert not await fs.isdir(gs_base)
# assert not await fs.isdir(s3_base)
# assert not await fs.isdir(azure_base)
await bounded_gather2(
sema,
functools.partial(fs.rmtree, sema, file_base),
functools.partial(fs.rmtree, sema, gs_base),
functools.partial(fs.rmtree, sema, s3_base),
functools.partial(fs.rmtree, sema, azure_base),
)

assert not await fs.isdir(file_base)
assert not await fs.isdir(gs_base)
assert not await fs.isdir(s3_base)
assert not await fs.isdir(azure_base)


async def fresh_dir(fs, bases, scheme):
Expand Down

0 comments on commit 31b850f

Please sign in to comment.