From 6b684a8ae89c3a8866c150cedcea63e57bf00e9c Mon Sep 17 00:00:00 2001 From: cxymds Date: Wed, 9 Sep 2026 13:29:48 +0800 Subject: [PATCH] fix(e2e): remove needless borrow in quorum test --- crates/e2e_test/src/namespace_lock_quorum_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/e2e_test/src/namespace_lock_quorum_test.rs b/crates/e2e_test/src/namespace_lock_quorum_test.rs index 788ffe382..d6e7f0f0e 100644 --- a/crates/e2e_test/src/namespace_lock_quorum_test.rs +++ b/crates/e2e_test/src/namespace_lock_quorum_test.rs @@ -81,7 +81,7 @@ async fn test_degraded_cluster_read_quorum_follows_erasure_layout() -> TestResul let read_quorum = node_count - parity; let write_quorum = read_quorum + usize::from(read_quorum == parity); let mut cluster = RustFSTestClusterEnvironment::new(node_count).await?; - cluster.set_env("RUSTFS_STORAGE_CLASS_STANDARD", &format!("EC:{parity}")); + cluster.set_env("RUSTFS_STORAGE_CLASS_STANDARD", format!("EC:{parity}")); // Wait for every seed fanout before removing any physical shard. cluster.set_env("RUSTFS_PUT_RENAME_EARLY_ACK_ENABLE", "false"); cluster.set_env("RUSTFS_OBS_METRICS_EXPORT_ENABLED", "false");