File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
services/storage/tests/unit Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 77# pylint:disable=unused-variable
88
99
10- import asyncio
1110import datetime
1211import random
1312from pathlib import Path
@@ -77,7 +76,6 @@ async def _assert_compute_path_size(
7776 location_id = location_id ,
7877 path = path ,
7978 )
80- await asyncio .sleep (1 )
8179 async for job_composed_result in wait_and_get_result (
8280 storage_rpc_client ,
8381 rpc_namespace = STORAGE_RPC_NAMESPACE ,
@@ -94,6 +92,7 @@ async def _assert_compute_path_size(
9492 return received_size
9593
9694 pytest .fail ("Job did not finish" )
95+ return ByteSize (0 ) # for mypy
9796
9897
9998async def _assert_delete_paths (
@@ -111,7 +110,6 @@ async def _assert_delete_paths(
111110 location_id = location_id ,
112111 paths = paths ,
113112 )
114- await asyncio .sleep (1 )
115113 async for job_composed_result in wait_and_get_result (
116114 storage_rpc_client ,
117115 rpc_namespace = STORAGE_RPC_NAMESPACE ,
You can’t perform that action at this time.
0 commit comments