Skip to content

Commit

Permalink
Improve property tests
Browse files Browse the repository at this point in the history
This commit improves the property tests for the filesystem model
and fixes bugs in the model itself, specifically around how
nodes are linked.

Signed-off-by: Brian L. Troutwine <[email protected]>
  • Loading branch information
blt committed Oct 28, 2024
1 parent 515238d commit 499a686
Show file tree
Hide file tree
Showing 3 changed files with 187 additions and 158 deletions.
8 changes: 8 additions & 0 deletions lading/proptest-regressions/generator/file_gen/model.txt

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions lading/src/bin/logrotate_fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,13 @@ fn main() -> Result<(), Error> {
.expect("block construction"); // TODO make this an Error

let state = model::State::new(
&mut rng,
args.bytes_per_second.get_bytes() as u64, // Adjust units accordingly
5, // TODO make an argument
1_000_000, // 1MiB
block_cache,
10, // max_depth
8, // concurrent_logs
);

// Initialize the FUSE filesystem
Expand Down
Loading

0 comments on commit 499a686

Please sign in to comment.