Skip to content

Commit

Permalink
enable testconatiners
Browse files Browse the repository at this point in the history
  • Loading branch information
milenkovicm committed Nov 23, 2024
1 parent 441affb commit 63a84c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 3 additions & 2 deletions examples/tests/object_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

//
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 63a84c8

Please sign in to comment.