Skip to content

Commit 450dbd2

Browse files
authored
chore: clarify row count assertion (#4723)
Signed-off-by: Alexander Droste <[email protected]>
1 parent b4d6540 commit 450dbd2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bench-vortex/src/benchmark_driver.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,11 @@ fn execute_queries<B: Benchmark>(
198198

199199
runs.push(duration);
200200
row_count.inspect(|rc| {
201-
assert_eq!(*rc, current_row_count, "each row count must match")
201+
assert_eq!(
202+
*rc, current_row_count,
203+
"Row count mismatch between iterations for query {}: previous => {} rows vs. current => {} rows",
204+
query_idx, *rc, current_row_count
205+
)
202206
});
203207
row_count = Some(current_row_count);
204208
}

0 commit comments

Comments
 (0)