This is an automated email from the ASF dual-hosted git repository.
zeroshade pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 61481624d test(rust/core): ensure unset the env var before the test
without the env var (#3146)
61481624d is described below
commit 61481624dc1aed33b55a354f3e078c0394051dfb
Author: eitsupi <[email protected]>
AuthorDate: Mon Jul 14 01:34:01 2025 +0900
test(rust/core): ensure unset the env var before the test without the env
var (#3146)
---
rust/core/src/driver_manager.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/rust/core/src/driver_manager.rs b/rust/core/src/driver_manager.rs
index 12e814667..bd253a29c 100644
--- a/rust/core/src/driver_manager.rs
+++ b/rust/core/src/driver_manager.rs
@@ -1894,6 +1894,7 @@ mod tests {
#[cfg_attr(not(feature = "driver_manager_test_lib"), ignore)]
fn test_load_driver_env() {
// ensure that we fail without the env var set
+ env::remove_var("ADBC_CONFIG_PATH");
let err =
ManagedDriver::load_from_name("sqlite", None, AdbcVersion::V100,
LOAD_FLAG_SEARCH_ENV)
.unwrap_err();