From 2d4b6f85fcf19cc7c79b93ef89c1c7e2b8dcc980 Mon Sep 17 00:00:00 2001 From: skyler <1156263951@qq.com> Date: Sat, 15 Aug 2026 12:08:41 +0800 Subject: [PATCH] fix(jdbc): use non-empty Java test fixtures --- crates/dbx-core/src/agent_manager.rs | 2 +- crates/dbx-core/src/connection.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/dbx-core/src/agent_manager.rs b/crates/dbx-core/src/agent_manager.rs index 7a4b9880ff..ccd20aee58 100644 --- a/crates/dbx-core/src/agent_manager.rs +++ b/crates/dbx-core/src/agent_manager.rs @@ -77,7 +77,7 @@ mod tests { if let Some(parent) = path.parent() { fs::create_dir_all(parent).unwrap(); } - fs::write(path, b"").unwrap(); + fs::write(path, b"test executable").unwrap(); #[cfg(unix)] { use std::os::unix::fs::PermissionsExt; diff --git a/crates/dbx-core/src/connection.rs b/crates/dbx-core/src/connection.rs index 98d2fd4731..a4bb07434a 100644 --- a/crates/dbx-core/src/connection.rs +++ b/crates/dbx-core/src/connection.rs @@ -6200,7 +6200,7 @@ mod tests { if let Some(parent) = path.parent() { std::fs::create_dir_all(parent).unwrap(); } - std::fs::write(path, b"").unwrap(); + std::fs::write(path, b"test executable").unwrap(); #[cfg(unix)] { use std::os::unix::fs::PermissionsExt;