tests_for_datastore #63

Merged
brian merged 45 commits from tests_for_datastore into main 2024-12-21 17:31:14 +01:00
Showing only changes of commit 8e366f26bc - Show all commits
@@ -34,7 +34,9 @@ def setup_infrastructure(request: pytest.FixtureRequest) -> None:
container.start()
# update env var map
minio_host = container_map['minio'].get_container_host_ip()
minio_port = container_map['minio'].get_exposed_port(9000)
minio_port = container_map['minio'].get_exposed_port(
port=env_var_map['MINIO_ENDPOINT'].rsplit(':', maxsplit=1)[-1],
)
env_var_map['MINIO_ENDPOINT'] = f'{minio_host}:{minio_port}'
# ensure cleanup