Skip to content

Commit 79a0719

Browse files
committed
Lowered down sleep to minimize test times.
1 parent ce2c612 commit 79a0719

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/tests/test_callback_subscription.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async def test_callback_wait_method(nats: Nats) -> None:
5252
limit = 10
5353

5454
async def callback(msg: Message) -> None:
55-
await asyncio.sleep(1)
55+
await asyncio.sleep(0.1)
5656
received.append(msg.payload)
5757

5858
async with nats.subscribe(subject=subj, callback=callback) as sub:

0 commit comments

Comments
 (0)