test(websocket): isolate delivery checks from transcript writes
This commit is contained in:
1 parent
60b7c8cf3c
commit
499bf90302
1 file changed
+2
@@ -109,6 +109,8 @@ async def _wait_for_retire_tasks(channel: WebSocketChannel) -> None:
|
|||||||
@pytest.mark.asyncio
|
@pytest.mark.asyncio
|
||||||
async def test_message_bus_delivers_to_ten_tuis_with_one_blocked_connection() -> None:
|
async def test_message_bus_delivers_to_ten_tuis_with_one_blocked_connection() -> None:
|
||||||
channel = _channel()
|
channel = _channel()
|
||||||
|
# Keep disk latency out of the connection delivery synchronization check.
|
||||||
|
channel._persist_turn_transcript_event = MagicMock(return_value=True)
|
||||||
bus = MessageBus()
|
bus = MessageBus()
|
||||||
config = Config.model_validate({"channels": {"websocket": {"enabled": False}}})
|
config = Config.model_validate({"channels": {"websocket": {"enabled": False}}})
|
||||||
manager = ChannelManager(config, bus)
|
manager = ChannelManager(config, bus)
|
||||||
|
|||||||
Reference in new issue
Block a user