Skip to content

Commit bb0fc90

Browse files
authored
Fixed intermittent ChannelFull test failures (#277)
1 parent f5eef16 commit bb0fc90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ async def test_receive_cancel(channel_layer):
436436
"""
437437
Makes sure we can cancel a receive without blocking
438438
"""
439-
channel_layer = RedisChannelLayer(capacity=10)
439+
channel_layer = RedisChannelLayer(capacity=20)
440440
channel = await channel_layer.new_channel()
441441
delay = 0
442442
while delay < 0.01:

tests/test_sentinel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ async def test_receive_cancel(channel_layer):
439439
"""
440440
Makes sure we can cancel a receive without blocking
441441
"""
442-
channel_layer = RedisChannelLayer(capacity=10)
442+
channel_layer = RedisChannelLayer(capacity=20)
443443
channel = await channel_layer.new_channel()
444444
delay = 0
445445
while delay < 0.01:

0 commit comments

Comments
 (0)