From 05746cf9b04f576d01a7cd7d89bd530335d47be5 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Sun, 10 Aug 2025 02:11:53 +0400 Subject: [PATCH] chore: linting --- tests/common/mod.rs | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 6bfcfef..e497db2 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -708,34 +708,6 @@ impl BundlerTestHelper { args ); - // Retry launching on Windows to avoid transient CreateProcess races - #[cfg(windows)] - let output = { - use std::thread::sleep; - use std::time::Duration; - let mut attempt = 1u32; - let max_attempts = 8u32; - loop { - match cmd.output() { - Ok(o) => break Ok(o), - Err(e) => { - if attempt >= max_attempts { - break Err(anyhow::anyhow!(e).context(format!( - "Failed to execute command after {max_attempts} attempts: {}\nArgs: {:?}\nEnv vars: {:?}\nWorking directory: {:?}", - exec_path_owned.display(), - args, - env_vars, - std::env::current_dir().unwrap_or_else(|_| "".into()) - ))); - } - sleep(Duration::from_millis(50 * attempt as u64)); - attempt += 1; - } - } - }? - }; - - #[cfg(not(windows))] let output = cmd.output().with_context(|| { format!( "Failed to execute command: {}\nArgs: {:?}\nEnv vars: {:?}\nWorking directory: {:?}",