diff --git a/crates/xtask/src/bench/meili_process.rs b/crates/xtask/src/bench/meili_process.rs index dc3d98647..a3b4e0f87 100644 --- a/crates/xtask/src/bench/meili_process.rs +++ b/crates/xtask/src/bench/meili_process.rs @@ -87,7 +87,7 @@ pub async fn start( let mut meilisearch = command.spawn().context("Error starting Meilisearch")?; - wait_for_health(client, &mut meilisearch, &workload.assets, asset_folder).await?; + wait_for_health(client, &mut meilisearch, asset_folder).await?; Ok(meilisearch) } @@ -95,11 +95,10 @@ pub async fn start( async fn wait_for_health( client: &Client, meilisearch: &mut tokio::process::Child, - assets: &BTreeMap, asset_folder: &str, ) -> anyhow::Result<()> { for i in 0..100 { - let res = run_command(client, &health_command(), assets, asset_folder, false).await; + let res = run_command(client, &health_command(), &BTreeMap::new(), asset_folder, false).await; if res.is_ok() { // check that this is actually the current Meilisearch instance that answered us if let Some(exit_code) =