fix(ingestor): Remove __del__ methods for async shutdown

This commit is contained in:
Bruno Domingues
2026-08-05 15:25:06 -03:00
parent ef37122f56
commit 810bf54d56
3 changed files with 0 additions and 14 deletions

View File

@@ -170,13 +170,6 @@ async def test_shutdown(ingestor_manager):
ingestor_manager.data_manager.shutdown.assert_called_once()
@patch('ingestor.managers.ingestor_manager.asyncio')
def test___del__(asyncio_mock, ingestor_manager):
ingestor_manager.shutdown = MagicMock()
ingestor_manager.__del__()
asyncio_mock.run.assert_called_once_with(ingestor_manager.shutdown.return_value)
@mark.asyncio
async def test_remove_server(ingestor_manager):
server1 = AsyncMock()