Skip to content

Commit

Permalink
chore: Limiting number of examples as test times out.
Browse files Browse the repository at this point in the history
  • Loading branch information
tazarov committed May 14, 2024
1 parent 7cc68db commit 5685050
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chromadb/test/property/test_embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pytest
import logging
import hypothesis.strategies as st
from hypothesis import given
from hypothesis import given, settings
from typing import Dict, Set, cast, Union, DefaultDict, Any, List
from dataclasses import dataclass

Expand Down Expand Up @@ -506,6 +506,7 @@ def batching_params(draw: st.DrawFn) -> BatchParams:
)


@settings(max_examples=10)
@given(batching_params=batching_params())
def test_batching(batching_params: BatchParams, api: ServerAPI) -> None:
error_distribution = {"IndexError": 0, "TypeError": 0, "NoError": 0}
Expand Down

0 comments on commit 5685050

Please sign in to comment.