Repository navigation
Split rolling checksum tests into dedicated modules - #2086
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| use super::super::*; | ||
| use super::super::{chunked_sequences, random_data_and_window, roll_many_sequences}; | ||
|
|
||
| use std::collections::VecDeque; | ||
| use std::io::IoSlice; | ||
|
|
||
| proptest! { |
There was a problem hiding this comment.
Import proptest! macro in properties tests
The new properties module still invokes proptest! but the original use proptest::prelude::*; was dropped. The glob use super::super::*; does not re-export the macro because the parent only imports it privately, so proptest! is no longer in scope and this file will not compile (cannot find macro proptest in this scope) when running the checksum tests. Bring the macro into scope again (e.g. use proptest::prelude::*;) or call it with an explicit proptest::proptest! path so cargo test -p oc-rsync-checksums builds.
Useful? React with 👍 / 👎.
Pin the wire-boundary invariants for the four planned zsync-inspired matching optimizations (bithash, seq-match, prune, compact-keys), inventory existing golden tests on the match/delta path, and flag the one gap (no wire-byte pin for duplicate-basis-block COPY-token sequences) that #2069 must close before landing.
Pin the wire-boundary invariants for the four planned zsync-inspired matching optimizations (bithash, seq-match, prune, compact-keys), inventory existing golden tests on the match/delta path, and flag the one gap (no wire-byte pin for duplicate-basis-block COPY-token sequences) that #2069 must close before landing.
Pin the wire-boundary invariants for the four planned zsync-inspired matching optimizations (bithash, seq-match, prune, compact-keys), inventory existing golden tests on the match/delta path, and flag the one gap (no wire-byte pin for duplicate-basis-block COPY-token sequences) that #2069 must close before landing.
Summary
basic,properties, andsimdmodules to keep each file manageableproptesthelpers explicitly after the module splitTesting
[Codex Task](