Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Disable test on Windows to work around Windows-specific Python connection issue

davidmezzetti9faae5dbbd0d
diff --git a/test/python/testapi/testcluster.py b/test/python/testapi/testcluster.py
index a387ed9e..e416cb0d 100644
--- a/test/python/testapi/testcluster.py
+++ b/test/python/testapi/testcluster.py
@@ -75,6 +75,7 @@ class RequestHandler(BaseHTTPRequestHandler):
self.wfile.flush()
[email protected](os.name == "nt", "TestCluster skipped on Windows")
class TestCluster(unittest.TestCase):
"""
API tests for embeddings clusters
@@ -127,9 +128,8 @@ class TestCluster(unittest.TestCase):
Shutdown mock http server.
"""
- if os.name != "nt":
- cls.httpd1.shutdown()
- cls.httpd2.shutdown()
+ cls.httpd1.shutdown()
+ cls.httpd2.shutdown()
def testCount(self):
"""