Skip to content

Commit e38a33c

Browse files
committed
Set worker concurrency to 1
1 parent 6cda701 commit e38a33c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/applications/test_turn_channels_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,9 +803,10 @@ async def test_handle_messages_after_timeout(
803803
"""
804804
After a timeout occurs, we should still be able to process new messages.
805805
"""
806-
config = mk_config(http_server, request_timeout=0.1)
806+
config = mk_config(http_server, request_timeout=0.1, worker_concurrency=1)
807807
async with worker_factory.with_cleanup(TurnChannelsApi, config) as worker:
808808
await worker.setup()
809+
assert worker.config.worker_concurrency == 1
809810

810811
# Test 1: Cause a timeout
811812
async def mock_timeout_get_data(as_text=False):

0 commit comments

Comments
 (0)