diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index cbda2632b..cdd5d30b6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -117,10 +117,8 @@ jobs: export PATH=$PATH:$HOME/d/protoc/bin export ARROW_TEST_DATA=$(pwd)/testing/data export PARQUET_TEST_DATA=$(pwd)/parquet-testing/data - cargo test - cd examples - cargo run --example standalone_sql --features=ballista/standalone - cd ../python + cargo test --features=testcontainers + cd python cargo test env: CARGO_HOME: "/github/home/.cargo" diff --git a/examples/tests/object_store.rs b/examples/tests/object_store.rs index 6b0cacf09..cd5c2def0 100644 --- a/examples/tests/object_store.rs +++ b/examples/tests/object_store.rs @@ -392,6 +392,7 @@ mod custom_s3_config { .await .unwrap(); + let endpoint_host = node.get_host().await.unwrap(); let endpoint_port = node.get_host_port_ipv4(9000).await.unwrap(); // @@ -431,8 +432,8 @@ mod custom_s3_config { .show() .await?; ctx.sql(&format!( - "SET s3.endpoint = 'http://localhost:{}'", - endpoint_port + "SET s3.endpoint = 'http://{}:{}'", + endpoint_host, endpoint_port )) .await? .show()