You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## 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)?*
What happened?
Occasionally, the test in chromadb/test/segment/test_vector.py will fail because it's possible for a vector to not be its own nearest neighbor.
We mitigate this in the property tests by setting the HNSW parameters such that this never happens.
chroma/chromadb/test/property/strategies.py
Lines 41 to 45 in c387e1d
Flaky tests are a liability. Since we have some known good parameters, we should share them wherever HNSW is used in a test context.
Versions
Chroma 0.4.x
Relevant log output
The text was updated successfully, but these errors were encountered: