diff --git a/crates/test_utils/src/newman_runner.rs b/crates/test_utils/src/newman_runner.rs index 5ce52d14da83..c9928206b581 100644 --- a/crates/test_utils/src/newman_runner.rs +++ b/crates/test_utils/src/newman_runner.rs @@ -27,7 +27,7 @@ struct Args { /// Minimum delay to be added before sending a request /// By default, 7 milliseconds will be the delay #[arg(short, long = "delay_request", default_value_t = 7)] - delay_request: u8, + delay_request: u32, /// Folder name of specific tests #[arg(short, long = "folder")] folders: Option, @@ -53,7 +53,7 @@ fn insert_content(dir: &String, content_to_insert: &str) -> io::Result { let mut file = OpenOptions::new() .write(true) .create(true) - .open(&file_path)?; + .open(file_path)?; // Write the content to the file file.write_all(content_to_insert.as_bytes())?;