From 478cce587de52c1cde415da132a05ebbf8681587 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 14 Sep 2026 02:59:39 +0800 Subject: [PATCH] fix(rustfs): restore test compilation (#7780) --- rustfs/src/connect/diagnostics/perf_site_replication.rs | 1 - rustfs/src/storage/rpc/http_service.rs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/rustfs/src/connect/diagnostics/perf_site_replication.rs b/rustfs/src/connect/diagnostics/perf_site_replication.rs index 6fcc32754..7650f666c 100644 --- a/rustfs/src/connect/diagnostics/perf_site_replication.rs +++ b/rustfs/src/connect/diagnostics/perf_site_replication.rs @@ -1478,7 +1478,6 @@ mod tests { consent_uid: "019e3ae0-0000-7000-8000-000000000015".to_owned(), policy_revision: 7, expires_at_unix: now + 120, - nonce: [0x6b; 32], confirmed: true, nonce: [0x6b; 32], }, diff --git a/rustfs/src/storage/rpc/http_service.rs b/rustfs/src/storage/rpc/http_service.rs index fa902bbfd..9bf656ee6 100644 --- a/rustfs/src/storage/rpc/http_service.rs +++ b/rustfs/src/storage/rpc/http_service.rs @@ -1740,6 +1740,7 @@ mod tests { use std::future::Future as _; use std::pin::Pin; use std::task::{Context, Poll}; + use std::time::Duration; use tokio::io; use tokio::io::{AsyncReadExt, AsyncWriteExt}; use tokio::net::{TcpListener, TcpStream};