Skip to content

Commit 94c1cdc

Browse files
review @sanderegg
1 parent b3d1213 commit 94c1cdc

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

services/web/server/tests/unit/with_dbs/04/garbage_collector/test_projects_document_service.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,9 @@ async def _create_connections_for_projects(
116116
connections.extend(created_connections)
117117
return created_connections
118118

119-
yield _create_connections_for_projects
119+
return _create_connections_for_projects
120120

121-
# Cleanup: Disconnect all SocketIO clients
122-
for sio_client, _ in connections:
123-
if sio_client.connected:
124-
await sio_client.disconnect()
121+
# Cleanup: Disconnect all SocketIO clients is done already in create_socket_io_connection
125122

126123

127124
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)