-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TST] Enable test_add in distributed tests #2224
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
@@ -42,6 +42,8 @@ | |||
hypothesis.settings.load_profile(os.getenv("HYPOTHESIS_PROFILE", "dev")) | |||
|
|||
NOT_CLUSTER_ONLY = os.getenv("CHROMA_CLUSTER_TEST_ONLY") != "1" | |||
MEMBERLIST_SLEEP = 5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move into conftest colocated with other relevant CONSTs
import chromadb.test.property.strategies as strategies | ||
import chromadb.test.property.invariants as invariants | ||
from chromadb.utils.batch_utils import create_batches | ||
|
||
collection_st = st.shared(strategies.collections(with_hnsw_params=True), key="coll") | ||
|
||
|
||
def reset(api: ServerAPI) -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eventually might make sense to pull this out into conftest. also shouldn't we be able to use before() type semantics in pytest?
7d5243c
to
b559dd5
Compare
b559dd5
to
ae94dc7
Compare
e2a9ea7
to
3782e63
Compare
ae94dc7
to
cc15917
Compare
cc15917
to
677b91f
Compare
Description of changes
Summarize the changes made by this PR.
Test plan
How are these changes tested?
This enables tests
pytest
for python,yarn test
for js,cargo test
for rustDocumentation Changes
None