Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.
TypeScript agent-harnessagent-harness-engineeringai-engineeringai-observabilityamd-gpuclaude-codeclickhousecodexcoding-agentcoding-agentscursorgenaigpu-monitoringllm-observabilityllmopsnvidia-smiobservabilityopen-sourceopenaiopentelemetry
[Fix]: Use same collection name in Milvus Test (#242)
patcher9a2dbf585b07a
diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.ymlindex 2726ddde..740742ef 100644--- a/.github/workflows/pylint.yml+++ b/.github/workflows/pylint.yml@@ -5,7 +5,7 @@ on:branches: [ "main" ]paths:- 'sdk/python/**'- pull_request_target:+ pull_request:branches: [ "main" ]paths:- 'sdk/python/**'diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.ymlindex d8a03fdd..7c3f9205 100644--- a/.github/workflows/python-tests.yml+++ b/.github/workflows/python-tests.yml@@ -5,10 +5,10 @@ on:branches: [ "main" ]paths:- 'sdk/python/**'- pull_request_target:- branches: [ "main" ]- paths:- - 'sdk/python/**'+ workflow_run:+ workflows: [Pylint]+ types:+ - completedworkflow_dispatch:schedule:- cron: '0 0 1-31/15 * *'diff --git a/sdk/python/tests/test_milvus.py b/sdk/python/tests/test_milvus.pyindex 70fe2d33..ea396ad3 100644--- a/sdk/python/tests/test_milvus.py+++ b/sdk/python/tests/test_milvus.py@@ -27,7 +27,7 @@ client = MilvusClient(# Initialize environment and application name for OpenLIT monitoringopenlit.init(environment="openlit-testing", application_name="openlit-python-test")-COLLECTION_NAME = "openlit"+str(os.getenv("GITHUB_RUN_ID"))+str(os.getenv("GITHUB_RUN_ATTEMPT"))+COLLECTION_NAME = "openlit"def test_db_milvus():"""@@ -51,13 +51,13 @@ def test_db_milvus():AssertionError: If the responses from ChromaDB operations do not meet the expected outcomes."""- # Create a new collection- collection = client.create_collection(- collection_name=COLLECTION_NAME,- dimension=5- )+ # # Create a new collection+ # collection = client.create_collection(+ # collection_name=COLLECTION_NAME,+ # dimension=5+ # )- assert collection is None+ # assert collection is Nonedata=[# pylint: disable=line-too-long@@ -122,7 +122,7 @@ def test_db_milvus():assert isinstance(delt, dict)- # Delete collection- client.drop_collection(- collection_name=COLLECTION_NAME,- )+ # # Delete collection+ # client.drop_collection(+ # collection_name=COLLECTION_NAME,+ # )