Skip to content

Commit 7618c5e

Browse files
fix: remove sleep
1 parent 59c33ae commit 7618c5e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/celery-library/tests/unit/test_async_jobs.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,6 @@ async def test_async_jobs_cancel(
301301
payload=60 * 10, # test hangs if not cancelled properly
302302
)
303303

304-
await asyncio.sleep(3.0) # wait a bit before cancelling
305-
306304
await async_jobs.cancel(
307305
async_jobs_rabbitmq_rpc_client,
308306
rpc_namespace=ASYNC_JOBS_RPC_NAMESPACE,

0 commit comments

Comments
 (0)