Skip to content

Commit

Permalink
Fix prop test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sicheng Pan committed Dec 11, 2024
1 parent 4452961 commit 90b3cb9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chromadb/test/property/test_sysdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from chromadb.db.system import SysDB
from chromadb.segment import SegmentType
from chromadb.test.conftest import NOT_CLUSTER_ONLY
from chromadb.test.db.test_system import sysdb
from chromadb.test.db.test_system import sqlite, grpc_with_real_server
from chromadb.types import Segment, SegmentScope


Expand Down Expand Up @@ -153,5 +153,6 @@ def delete_collection(self, coll: strategies.Collection) -> None:
self.sysdb.delete_collection(id=coll.id)


def test_sysdb(caplog: pytest.LogCaptureFixture, sysdb: SysDB, system: System) -> None:
def test_sysdb(caplog: pytest.LogCaptureFixture, system: System) -> None:
sysdb = next(sqlite()) if NOT_CLUSTER_ONLY else next(grpc_with_real_server())
run_state_machine_as_test(lambda: SysDBStateMachine(sysdb=sysdb)) # type: ignore[no-untyped-call]

0 comments on commit 90b3cb9

Please sign in to comment.