From 5086480b287ec6f357b1dd25e092032df1687d6f Mon Sep 17 00:00:00 2001 From: Nikita Sivukhin Date: Mon, 29 Sep 2025 20:18:10 +0400 Subject: [PATCH] small improvement of stress testing tool --- stress/main.rs | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/stress/main.rs b/stress/main.rs index 68e7ee0cf..42438854e 100644 --- a/stress/main.rs +++ b/stress/main.rs @@ -353,8 +353,15 @@ fn generate_plan(opts: &Opts) -> Result Result Result() { + plan.queries_per_thread.push(Vec::new()); + } else { + plan.queries_per_thread + .last_mut() + .unwrap() + .push(line.to_string()); } - plan.queries_per_thread.push(queries); } Ok(plan) }