Skip to content

Commit

Permalink
fix glue test
Browse files Browse the repository at this point in the history
  • Loading branch information
JanKaul committed Jan 5, 2025
1 parent 836f11f commit ec3fe32
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion catalogs/iceberg-glue-catalog/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ impl Catalog for GlueCatalog {

#[cfg(test)]
pub mod tests {
use aws_config::BehaviorVersion;
use aws_config::{BehaviorVersion, Region};
use datafusion::{
arrow::array::{Float64Array, Int64Array},
common::tree_node::{TransformedResult, TreeNode},
Expand Down Expand Up @@ -960,6 +960,7 @@ pub mod tests {
.endpoint_url(
"http://".to_owned() + &moto_host.to_string() + ":" + &moto_port.to_string(),
)
.region(Region::new("us-east-1"))
.test_credentials()
.load()
.await;
Expand Down Expand Up @@ -1162,5 +1163,8 @@ pub mod tests {
assert!(std::str::from_utf8(&version_hint)
.unwrap()
.ends_with(".metadata.json"));

moto.rm().await.unwrap();
localstack.rm().await.unwrap();
}
}

0 comments on commit ec3fe32

Please sign in to comment.