Skip to content

Commit 4c16c0b

Browse files
updated tests
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
1 parent 4a7edd8 commit 4c16c0b

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,10 @@ test-python-universal-elasticsearch-online:
356356
test-python-universal-milvus-online:
357357
PYTHONPATH='.' \
358358
FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.online_stores.milvus_online_store.milvus_repo_configuration \
359-
PYTEST_PLUGINS=sdk.python.tests.integration.feature_repos.universal.online_store.milvus\
359+
PYTEST_PLUGINS=sdk.python.tests.integration.feature_repos.universal.online_store.milvus \
360360
python -m pytest -n 8 --integration \
361-
-k "test_retrieve_online_documents and not test_dqm" \
362-
sdk/python/tests
361+
-k "test_retrieve_online_documents" \
362+
sdk/python/tests --ignore=sdk/python/tests/integration/offline_store/test_dqm_validation.py
363363

364364
test-python-universal-singlestore-online:
365365
PYTHONPATH='.' \

sdk/python/tests/conftest.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ def environment(request, worker_id):
191191
request.param,
192192
worker_id=worker_id,
193193
fixture_request=request,
194+
entity_key_serialization_version=3,
194195
)
195196

196197
e.setup()
@@ -204,9 +205,20 @@ def environment(request, worker_id):
204205
e.teardown()
205206

206207

208+
from tests.integration.feature_repos.integration_test_repo_config import (
209+
IntegrationTestRepoConfig,
210+
)
211+
from tests.integration.feature_repos.universal.online_store.milvus import MilvusOnlineStoreCreator
212+
207213
@pytest.fixture
208214
def vectordb_environment(request, worker_id):
215+
milvus_config = IntegrationTestRepoConfig(
216+
provider="milvus",
217+
online_store_creator=MilvusOnlineStoreCreator,
218+
offline_store_creator='',
219+
batch_engine={})
209220
e = construct_test_environment(
221+
milvus_config,
210222
request.param,
211223
worker_id=worker_id,
212224
fixture_request=request,

0 commit comments

Comments
 (0)