test(replication): fix nightly site peer setup (#4882)

This commit is contained in:
Zhengchao An
2026-07-16 03:03:09 +08:00
committed by GitHub
parent 299b739f9f
commit 49e04bf343
3 changed files with 52 additions and 26 deletions
+7
View File
@@ -446,6 +446,13 @@ impl RustFSTestEnvironment {
self.start_rustfs_server_inner(extra_args, &[], false).await
}
pub async fn start_rustfs_server_without_cleanup_with_env(
&mut self,
extra_env: &[(&str, &str)],
) -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
self.start_rustfs_server_inner(vec![], extra_env, false).await
}
/// Wait for RustFS server to be ready.
///
/// A listening TCP port is not sufficient here: the process may accept