Tests that require external components
Integration tests have external dependencies, they are typically run with docker-compose. Running the tests requires the docker image for the server to be specified via env-vars.
Run the following commands from the crate's root folder:
docker build -t localhost/iceberg-catalog-local:latest -f docker/full.Dockerfile .
export ICEBERG_REST_TEST_SPARK_IMAGE=apache/spark:3.5.1-java17-python3
export ICEBERG_REST_TEST_SERVER_IMAGE=localhost/iceberg-catalog-local:latest
cd tests
docker compose run spark /opt/entrypoint.sh bash -c "cd /opt/tests && bash run_all.sh"