Skip to content

Commit

Permalink
fix: test max agg method
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescalam committed Jan 10, 2025
1 parent 351f432 commit 19169e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/test_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,7 @@ def test_query_and_classification(self, routes, index_cls, encoder_cls, router_c
routes=routes,
index=index,
auto_sync="local",
aggregation="max",
)

@retry(max_retries=RETRY_COUNT, delay=PINECONE_SLEEP)
Expand All @@ -789,6 +790,7 @@ def test_query_filter(self, routes, index_cls, encoder_cls, router_cls):
routes=routes,
index=index,
auto_sync="local",
aggregation="max",
)

@retry(max_retries=RETRY_COUNT, delay=PINECONE_SLEEP)
Expand Down Expand Up @@ -851,6 +853,7 @@ def test_query_with_vector(self, routes, index_cls, encoder_cls, router_cls):
routes=routes,
index=index,
auto_sync="local",
aggregation="max",
)
# create vectors
vector = encoder(["hello"])
Expand Down

0 comments on commit 19169e7

Please sign in to comment.