From 762431c0c79ab92e4f905ed9612677eb3e107856 Mon Sep 17 00:00:00 2001 From: houseme Date: Mon, 24 Aug 2026 18:12:28 +0800 Subject: [PATCH] fix(tests): raise recursion limit for rustfs e2e crates (#6513) Co-authored-by: heihutu --- rustfs/tests/admin_diagnostic_capability_e2e.rs | 2 ++ rustfs/tests/embedded_select_snapshot_test.rs | 2 ++ rustfs/tests/embedded_test.rs | 2 ++ 3 files changed, 6 insertions(+) diff --git a/rustfs/tests/admin_diagnostic_capability_e2e.rs b/rustfs/tests/admin_diagnostic_capability_e2e.rs index ddd3532b6..6d43bcde7 100644 --- a/rustfs/tests/admin_diagnostic_capability_e2e.rs +++ b/rustfs/tests/admin_diagnostic_capability_e2e.rs @@ -6,6 +6,8 @@ // // http://www.apache.org/licenses/LICENSE-2.0 +#![recursion_limit = "256"] + use bytes::Bytes; use chrono::Utc; use futures::stream; diff --git a/rustfs/tests/embedded_select_snapshot_test.rs b/rustfs/tests/embedded_select_snapshot_test.rs index 16b174d55..afb52ab1e 100644 --- a/rustfs/tests/embedded_select_snapshot_test.rs +++ b/rustfs/tests/embedded_select_snapshot_test.rs @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +#![recursion_limit = "256"] + use aws_sdk_s3::config::{Credentials, Region}; use aws_sdk_s3::primitives::ByteStream; use aws_sdk_s3::types::{ diff --git a/rustfs/tests/embedded_test.rs b/rustfs/tests/embedded_test.rs index 42547ef18..a2ae48087 100644 --- a/rustfs/tests/embedded_test.rs +++ b/rustfs/tests/embedded_test.rs @@ -17,6 +17,8 @@ // This test starts a RustFS server in-process and exercises it via the // standard AWS S3 SDK — exactly as you would in your own integration tests. +#![recursion_limit = "256"] + use aws_sdk_s3::config::{Credentials, Region}; use aws_sdk_s3::primitives::ByteStream; use aws_sdk_s3::{Client, Config};