Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

fix: ignore TestVikingDBProject (#103)

qin-ctx73642e950802
diff --git a/tests/client/test_resource_management.py b/tests/client/test_resource_management.py
index 6fac382fe..294ce8d41 100644
--- a/tests/client/test_resource_management.py
+++ b/tests/client/test_resource_management.py
@@ -75,13 +75,13 @@ class TestWaitProcessed:
"""Test waiting for processing to complete"""
await client.add_resource(path=str(sample_markdown_file), reason="Test")
- status = await client.wait_processed(timeout=60.0)
+ status = await client.wait_processed()
assert isinstance(status, dict)
async def test_wait_processed_empty_queue(self, client: AsyncOpenViking):
"""Test waiting on empty queue"""
- status = await client.wait_processed(timeout=5.0)
+ status = await client.wait_processed()
assert isinstance(status, dict)
@@ -92,6 +92,6 @@ class TestWaitProcessed:
for f in sample_files:
await client.add_resource(path=str(f), reason="Batch test")
- status = await client.wait_processed(timeout=120.0)
+ status = await client.wait_processed()
assert isinstance(status, dict)
diff --git a/tests/vectordb/test_vikingdb_project.py b/tests/vectordb/test_vikingdb_project.py
index 14f5867a2..06dee950d 100644
--- a/tests/vectordb/test_vikingdb_project.py
+++ b/tests/vectordb/test_vikingdb_project.py
@@ -1,15 +1,11 @@
# Copyright (c) 2026 Beijing Volcano Engine Technology Co., Ltd.
# SPDX-License-Identifier: Apache-2.0
-import json
-import sys
import unittest
-from openviking.storage.vectordb.collection.collection import Collection
-from openviking.storage.vectordb.collection.vikingdb_collection import VikingDBCollection
from openviking.storage.vectordb.project.vikingdb_project import get_or_create_vikingdb_project
[email protected](sys.platform == "darwin", "Only run on macOS")
[email protected]("Temporarily skip TestVikingDBProject")
class TestVikingDBProject(unittest.TestCase):
"""
Unit tests for VikingDB Project and Collection implementation for private deployment.
@@ -86,11 +82,12 @@ class TestVikingDBProject(unittest.TestCase):
collection = project.get_or_create_collection("test_coll", self.meta_data)
if not collection:
- assert False, "Collection should exist after creation"
-
+ self.fail("Collection should exist after creation")
+
collection.drop()
collection = project.get_collection("test_coll")
self.assertIsNone(collection)
+
if __name__ == "__main__":
unittest.main()