We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72f9a9b commit 4687f38Copy full SHA for 4687f38
1 file changed
rust/lance/src/dataset/write/commit.rs
@@ -684,7 +684,10 @@ mod tests {
684
} else {
685
// We need to read the other manifests and transactions.
686
assert_eq!(io_stats.read_iops, 1 + num_other_txns * 2);
687
- assert_eq!(io_stats.num_hops, 5);
+ // It's possible to read the txns for some versions before we
688
+ // finish reading later versions and so the entire "read versions
689
+ // and txs" may appear as 1 hop instead of 2.
690
+ assert!(io_stats.num_hops <= 5);
691
}
692
assert_eq!(io_stats.write_iops, 2); // txn + manifest
693
0 commit comments