Skip to content

Commit

Permalink
sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
chakaz committed Sep 24, 2024
1 parent 2cf4543 commit e54f458
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/dragonfly/acl_family_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,8 @@ async def subscribe_worker(channel: aioredis.client.PubSub):
subscriber_obj = subscriber.pubsub()
await subscriber_obj.subscribe("channel")

await asyncio.sleep(1) # Check if it's a timing issue

subscribe_task = asyncio.create_task(subscribe_worker(subscriber_obj))
await publish_worker(publisher)
await subscribe_task
Expand Down

0 comments on commit e54f458

Please sign in to comment.