Skip to content

Commit 0554239

Browse files
author
Dani Reinón
committed
chore: Add comment to justify sleep in finalizer
1 parent 127ef98 commit 0554239

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_storage.py

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def delete_left_buckets(request, storage_client: SupabaseStorageClient):
2424
"""Ensures no test buckets are left"""
2525

2626
def finalizer():
27+
# Sleep 15 seconds in order to let buckets be deleted before the double-check
2728
sleep(15)
2829
for bucket in storage_client.list_buckets():
2930
if bucket.id.startswith("pytest-"):

0 commit comments

Comments
 (0)