Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 1d3959c

Browse files
committed
test: sleep before download
1 parent 7995837 commit 1d3959c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/_async/test_client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from __future__ import annotations
2+
from time import sleep
23

34
from typing import TYPE_CHECKING
45
from uuid import uuid4
@@ -127,6 +128,8 @@ async def test_client_upload_file(
127128

128129
await storage_file_client.upload(bucket_file_path, file_path, options)
129130

131+
sleep(3)
132+
130133
image = await storage_file_client.download(bucket_file_path)
131134
files = await storage_file_client.list(bucket_folder)
132135
image_info = next((f for f in files if f.get("name") == file_name), None)

0 commit comments

Comments
 (0)