diff --git a/mutable_batch/src/payload/partition.rs b/mutable_batch/src/payload/partition.rs index 195f3f3f08..0399b8c1b0 100644 --- a/mutable_batch/src/payload/partition.rs +++ b/mutable_batch/src/payload/partition.rs @@ -1087,7 +1087,7 @@ mod tests { /// up to `max_run_len`, fn arbitrary_timestamp_run(max_run_len: usize)(v in 0_i64..i64::MAX, run_len in 1..max_run_len) -> Vec { let mut x = Vec::with_capacity(run_len); - x.resize(max_run_len, v); + x.resize(run_len, v); x } }