Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
Signed-off-by: Francisco Javier Arceo <[email protected]>
  • Loading branch information
franciscojavierarceo committed Dec 9, 2024
1 parent db67dd0 commit 011ab46
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,10 @@ test-python-universal-elasticsearch-online:
test-python-universal-milvus-online:
PYTHONPATH='.' \
FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.online_stores.milvus_online_store.milvus_repo_configuration \
PYTEST_PLUGINS=sdk.python.tests.integration.feature_repos.universal.online_store.milvus\
PYTEST_PLUGINS=sdk.python.tests.integration.feature_repos.universal.online_store.milvus \
python -m pytest -n 8 --integration \
-k "test_retrieve_online_documents and not test_dqm" \
sdk/python/tests
-k "test_retrieve_online_documents" \
sdk/python/tests --ignore=sdk/python/tests/integration/offline_store/test_dqm_validation.py

test-python-universal-singlestore-online:
PYTHONPATH='.' \
Expand Down
12 changes: 12 additions & 0 deletions sdk/python/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ def environment(request, worker_id):
request.param,
worker_id=worker_id,
fixture_request=request,
entity_key_serialization_version=3,
)

e.setup()
Expand All @@ -200,9 +201,20 @@ def environment(request, worker_id):
e.teardown()


from tests.integration.feature_repos.integration_test_repo_config import (
IntegrationTestRepoConfig,
)
from tests.integration.feature_repos.universal.online_store.milvus import MilvusOnlineStoreCreator

@pytest.fixture
def vectordb_environment(request, worker_id):
milvus_config = IntegrationTestRepoConfig(
provider="milvus",
online_store_creator=MilvusOnlineStoreCreator,
offline_store_creator='',
batch_engine={})
e = construct_test_environment(
milvus_config,
request.param,
worker_id=worker_id,
fixture_request=request,
Expand Down

0 comments on commit 011ab46

Please sign in to comment.