Skip to content

Commit

Permalink
[TST] Fix #927 by adding hnsw params to test_vector segment tests (#974)
Browse files Browse the repository at this point in the history
## Description of changes
Closes #927 
*Summarize the changes made by this PR.*
 - Improvements & Bug fixes
	 -Fix #927 by adding hnsw params to test_vector segment tests
 - New functionality
	 - N/A

## Test plan
These are tests 

## Documentation Changes
*Are all docstrings for user-facing APIs updated if required? Do we need
to make documentation changes in the [docs
repository](https://github.com/chroma-core/docs)?*
  • Loading branch information
HammadB committed Aug 14, 2023
1 parent a014870 commit 1e30d13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chromadb/test/segment/test_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
PersistentLocalHnswSegment,
)

from chromadb.test.property.strategies import test_hnsw_config
from pytest import FixtureRequest
from itertools import count
import tempfile
Expand Down Expand Up @@ -112,7 +113,7 @@ def create_random_segment_definition() -> Segment:
scope=SegmentScope.VECTOR,
topic="persistent://test/test/test_topic_1",
collection=None,
metadata=None,
metadata=test_hnsw_config,
)


Expand Down

0 comments on commit 1e30d13

Please sign in to comment.