Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
skip minio registry from cloud integration tests
Signed-off-by: tokoko <togurg14@freeuni.edu.ge>
  • Loading branch information
tokoko committed Mar 22, 2024
commit fc3576d90fb6b73da7db68808106a43e68b77e08
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ test-python:
python -m pytest -n 8 sdk/python/tests \

test-python-integration:
FEAST_USAGE=False IS_TEST=True python -m pytest -n 8 --integration sdk/python/tests
FEAST_USAGE=False \
IS_TEST=True \
python -m pytest -n 8 --integration \
-k "not minio_registry" \
sdk/python/tests

test-python-integration-local:
@(docker info > /dev/null 2>&1 && \
Expand Down
6 changes: 2 additions & 4 deletions sdk/python/tests/integration/registration/test_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def minio_registry() -> Registry:
"FEAST_S3_ENDPOINT_URL": f"http://{container_host}:{exposed_port}",
"AWS_ACCESS_KEY_ID": minio_user,
"AWS_SECRET_ACCESS_KEY": minio_password,
"AWS_SESSION_TOKEN": ""
"AWS_SESSION_TOKEN": "",
}

with mock.patch.dict(os.environ, mock_environ):
Expand All @@ -111,9 +111,7 @@ def minio_registry() -> Registry:
],
)
def test_apply_entity_integration(test_registry):
print('Log Environ Keys')
print(dict(os.environ).keys())


entity = Entity(
name="driver_car_id",
description="Car driver id",
Expand Down