Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Cleanup open connection in test

davidmezzetti62099b9a34f8
diff --git a/test/python/testdatabase/testrdbms.py b/test/python/testdatabase/testrdbms.py
index d5da545f..e45403ff 100644
--- a/test/python/testdatabase/testrdbms.py
+++ b/test/python/testdatabase/testrdbms.py
@@ -368,6 +368,9 @@ class Common:
for result, value in zip(results, expected):
self.assertAlmostEqual(result["score"], value["score"], places=5)
+ # Cleanup connection
+ embeddings.close()
+
def testIndex(self):
"""
Test index