@@ -28,7 +28,7 @@ format: format-python format-java
2828
2929lint : lint-python lint-java
3030
31- test : test-python test-java
31+ test : test-python-unit test-java
3232
3333protos : compile-protos-python compile-protos-docs
3434
@@ -63,32 +63,26 @@ benchmark-python:
6363benchmark-python-local :
6464 FEAST_USAGE=False IS_TEST=True FEAST_IS_LOCAL_TEST=True python -m pytest --integration --benchmark --benchmark-autosave --benchmark-save-data sdk/python/tests
6565
66- test-python :
67- FEAST_USAGE=False \
68- IS_TEST=True \
69- python -m pytest -n 8 sdk/python/tests \
66+ test-python-unit :
67+ python -m pytest -n 8 --color=yes sdk/python/tests
7068
7169test-python-integration :
72- FEAST_USAGE=False IS_TEST=True python -m pytest -n 8 --integration sdk/python/tests
70+ python -m pytest -n 8 --integration --color=yes --durations=5 --timeout=1200 --timeout_method=thread sdk/python/tests
7371
7472test-python-integration-local :
7573 @ (docker info > /dev/null 2>&1 && \
76- FEAST_USAGE=False \
77- IS_TEST=True \
7874 FEAST_IS_LOCAL_TEST=True \
7975 FEAST_LOCAL_ONLINE_CONTAINER=True \
80- python -m pytest -n 8 --integration \
76+ python -m pytest -n 8 --color=yes -- integration \
8177 -k " not gcs_registry and \
8278 not s3_registry and \
8379 not test_lambda_materialization and \
84- not test_snowflake " \
80+ not test_snowflake_materialization " \
8581 sdk/python/tests \
8682 ) || echo "This script uses Docker, and it isn't running - please start the Docker Daemon and try again!";
8783
8884test-python-integration-container :
8985 @ (docker info > /dev/null 2>&1 && \
90- FEAST_USAGE=False \
91- IS_TEST=True \
9286 FEAST_LOCAL_ONLINE_CONTAINER=True \
9387 python -m pytest -n 8 --integration sdk/python/tests \
9488 ) || echo " This script uses Docker, and it isn't running - please start the Docker Daemon and try again!" ;
@@ -97,7 +91,6 @@ test-python-universal-spark:
9791 PYTHONPATH=' .' \
9892 FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.offline_stores.contrib.spark_repo_configuration \
9993 PYTEST_PLUGINS=feast.infra.offline_stores.contrib.spark_offline_store.tests \
100- FEAST_USAGE=False IS_TEST=True \
10194 python -m pytest -n 8 --integration \
10295 -k "not test_historical_retrieval_fails_on_validation and \
10396 not test_historical_retrieval_with_validation and \
@@ -121,7 +114,6 @@ test-python-universal-trino:
121114 PYTHONPATH=' .' \
122115 FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.offline_stores.contrib.trino_repo_configuration \
123116 PYTEST_PLUGINS=feast.infra.offline_stores.contrib.trino_offline_store.tests \
124- FEAST_USAGE=False IS_TEST=True \
125117 python -m pytest -n 8 --integration \
126118 -k "not test_historical_retrieval_fails_on_validation and \
127119 not test_historical_retrieval_with_validation and \
@@ -148,7 +140,6 @@ test-python-universal-mssql:
148140 PYTHONPATH=' .' \
149141 FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.offline_stores.contrib.mssql_repo_configuration \
150142 PYTEST_PLUGINS=feast.infra.offline_stores.contrib.mssql_offline_store.tests \
151- FEAST_USAGE=False IS_TEST=True \
152143 FEAST_LOCAL_ONLINE_CONTAINER=True \
153144 python -m pytest -n 8 --integration \
154145 -k "not gcs_registry and \
@@ -166,7 +157,6 @@ test-python-universal-athena:
166157 PYTHONPATH=' .' \
167158 FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.offline_stores.contrib.athena_repo_configuration \
168159 PYTEST_PLUGINS=feast.infra.offline_stores.contrib.athena_offline_store.tests \
169- FEAST_USAGE=False IS_TEST=True \
170160 ATHENA_REGION=ap-northeast-2 \
171161 ATHENA_DATA_SOURCE=AwsDataCatalog \
172162 ATHENA_DATABASE=default \
@@ -190,7 +180,6 @@ test-python-universal-athena:
190180test-python-universal-duckdb :
191181 PYTHONPATH=' .' \
192182 FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.offline_stores.contrib.duckdb_repo_configuration \
193- FEAST_USAGE=False IS_TEST=True \
194183 python -m pytest -n 8 --integration \
195184 -k " not test_nullable_online_store and \
196185 not gcs_registry and \
@@ -204,8 +193,6 @@ test-python-universal-postgres-offline:
204193 PYTHONPATH=' .' \
205194 FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.offline_stores.contrib.postgres_repo_configuration \
206195 PYTEST_PLUGINS=sdk.python.feast.infra.offline_stores.contrib.postgres_offline_store.tests \
207- FEAST_USAGE=False \
208- IS_TEST=True \
209196 python -m pytest -n 8 --integration \
210197 -k "not test_historical_retrieval_with_validation and \
211198 not test_historical_features_persisting and \
@@ -226,8 +213,6 @@ test-python-universal-postgres-online:
226213 PYTHONPATH=' .' \
227214 FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.online_stores.contrib.postgres_repo_configuration \
228215 PYTEST_PLUGINS=sdk.python.feast.infra.offline_stores.contrib.postgres_offline_store.tests \
229- FEAST_USAGE=False \
230- IS_TEST=True \
231216 python -m pytest -n 8 --integration \
232217 -k "not test_universal_cli and \
233218 not test_go_feature_server and \
@@ -247,8 +232,6 @@ test-python-universal-postgres-online:
247232 PYTHONPATH=' .' \
248233 FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.online_stores.contrib.mysql_repo_configuration \
249234 PYTEST_PLUGINS=sdk.python.tests.integration.feature_repos.universal.online_store.mysql \
250- FEAST_USAGE=False \
251- IS_TEST=True \
252235 python -m pytest -n 8 --integration \
253236 -k "not test_universal_cli and \
254237 not test_go_feature_server and \
@@ -268,17 +251,13 @@ test-python-universal-cassandra:
268251 PYTHONPATH=' .' \
269252 FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.online_stores.contrib.cassandra_repo_configuration \
270253 PYTEST_PLUGINS=sdk.python.tests.integration.feature_repos.universal.online_store.cassandra \
271- FEAST_USAGE=False \
272- IS_TEST=True \
273254 python -m pytest -x --integration \
274255 sdk/python/tests
275256
276257test-python-universal-hazelcast :
277258 PYTHONPATH=' .' \
278259 FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.online_stores.contrib.hazelcast_repo_configuration \
279260 PYTEST_PLUGINS=sdk.python.tests.integration.feature_repos.universal.online_store.hazelcast \
280- FEAST_USAGE=False \
281- IS_TEST=True \
282261 python -m pytest -n 8 --integration \
283262 -k "not test_universal_cli and \
284263 not test_go_feature_server and \
@@ -298,8 +277,6 @@ test-python-universal-cassandra-no-cloud-providers:
298277 PYTHONPATH=' .' \
299278 FULL_REPO_CONFIGS_MODULE=sdk.python.feast.infra.online_stores.contrib.cassandra_repo_configuration \
300279 PYTEST_PLUGINS=sdk.python.tests.integration.feature_repos.universal.online_store.cassandra \
301- FEAST_USAGE=False \
302- IS_TEST=True \
303280 python -m pytest -x --integration \
304281 -k " not test_lambda_materialization_consistency and \
305282 not test_apply_entity_integration and \
@@ -314,7 +291,7 @@ test-python-universal-cassandra-no-cloud-providers:
314291 sdk/python/tests
315292
316293test-python-universal :
317- FEAST_USAGE=False IS_TEST=True python -m pytest -n 8 --integration sdk/python/tests
294+ python -m pytest -n 8 --integration sdk/python/tests
318295
319296format-python :
320297 # Sort
0 commit comments