Skip to content

Commit 6cb43aa

Browse files
committed
WARNING: added some sleep in tests!
1 parent fad2ae0 commit 6cb43aa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

services/storage/tests/test_dsm.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,8 @@ async def test_dsm_datcore(
245245
is_deleted = await dsm.delete_file(user_id, DATCORE_STR, fmd_to_delete.file_id)
246246
assert is_deleted
247247

248+
import time; time.sleep(1) # FIXME: takes some time to delete!!
249+
248250
data = await dsm.list_files(
249251
user_id=user_id, location=DATCORE_STR, uuid_filter=BUCKET_NAME
250252
)
@@ -293,6 +295,9 @@ async def test_dsm_s3_to_datcore(
293295
destination_id=datcore_structured_testbucket["coll2_id"],
294296
)
295297

298+
#FIXME: upload takes some time
299+
import time; time.sleep(1)
300+
296301
data = await dsm.list_files(
297302
user_id=user_id, location=DATCORE_STR, uuid_filter=BUCKET_NAME
298303
)

0 commit comments

Comments
 (0)