thexiay commented on code in PR #428: URL: https://github.com/apache/iceberg-rust/pull/428#discussion_r1666118879
########## crates/catalog/glue/tests/glue_catalog_test.rs: ########## @@ -92,6 +96,24 @@ async fn set_test_fixture(func: &str) -> TestFixture { } } +async fn lazy_reuse_dc() -> Arc<TestFixture> { + let mut guard = TEST_FIXTURE + .get_or_init(|| Mutex::new(Weak::new())) + .lock() + .await; + + let maybe_tf = guard.upgrade(); + + if let Some(tf) = maybe_tf { + tf + } else { + let tf = Arc::new(start_dc("reuse").await); Review Comment: yes, i use "shared" for all reuse docker container, but the actual.For hms, res ,glue, datafusion Integration test -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org